skip data duplicator

This commit is contained in:
Jan Prochazka 2024-09-13 15:24:29 +02:00
parent 0d1b6702a7
commit 89c9d5e792
2 changed files with 3 additions and 2 deletions

View File

@ -5,7 +5,7 @@ const dataDuplicator = require('dbgate-api/src/shell/dataDuplicator');
const { runCommandOnDriver } = require('dbgate-tools'); const { runCommandOnDriver } = require('dbgate-tools');
describe('Data duplicator', () => { describe('Data duplicator', () => {
test.each(engines.map(engine => [engine.label, engine]))( test.each(engines.filter(x => !x.skipDataDuplicator).map(engine => [engine.label, engine]))(
'Insert simple data - %s', 'Insert simple data - %s',
testWrapper(async (conn, driver, engine) => { testWrapper(async (conn, driver, engine) => {
runCommandOnDriver(conn, driver, dmp => runCommandOnDriver(conn, driver, dmp =>

View File

@ -148,12 +148,13 @@ const engines = [
skipUnique: true, skipUnique: true,
skipAutoIncrement: true, skipAutoIncrement: true,
skipPkColumnTesting: true, skipPkColumnTesting: true,
skipDataDuplicator: true,
}, },
]; ];
const filterLocal = [ const filterLocal = [
// filter local testing // filter local testing
'MySQL', '-MySQL',
'-MariaDB', '-MariaDB',
'-PostgreSQL', '-PostgreSQL',
'-SQL Server', '-SQL Server',