disable col stats in test mode (mysql 5.7) or non-ubuntu 20
This commit is contained in:
@@ -36,16 +36,10 @@ describe('database', function () {
|
||||
});
|
||||
|
||||
it('can export to file', async function () {
|
||||
// arch only has maria db which lacks some mysqldump options we need, this is only here to allow running the tests :-/
|
||||
if (!fs.readFileSync('/etc/lsb-release', 'utf8').includes('Ubuntu')) return;
|
||||
|
||||
await database.exportToFile('/tmp/box.mysqldump');
|
||||
});
|
||||
|
||||
it('can import from file', async function () {
|
||||
// arch only has maria db which lacks some mysqldump options we need, this is only here to allow running the tests :-/
|
||||
if (!fs.readFileSync('/etc/lsb-release', 'utf8').includes('Ubuntu')) return;
|
||||
|
||||
await database.importFromFile('/tmp/box.mysqldump');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user