From 89c9d5e79261dbee0b203abab61e6f70878f22a2 Mon Sep 17 00:00:00 2001 From: Jan Prochazka Date: Fri, 13 Sep 2024 15:24:29 +0200 Subject: [PATCH] skip data duplicator --- integration-tests/__tests__/data-duplicator.spec.js | 2 +- integration-tests/engines.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/integration-tests/__tests__/data-duplicator.spec.js b/integration-tests/__tests__/data-duplicator.spec.js index 3227cd98..7d5c532e 100644 --- a/integration-tests/__tests__/data-duplicator.spec.js +++ b/integration-tests/__tests__/data-duplicator.spec.js @@ -5,7 +5,7 @@ const dataDuplicator = require('dbgate-api/src/shell/dataDuplicator'); const { runCommandOnDriver } = require('dbgate-tools'); 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', testWrapper(async (conn, driver, engine) => { runCommandOnDriver(conn, driver, dmp => diff --git a/integration-tests/engines.js b/integration-tests/engines.js index 7e09a5dd..1312c5c6 100644 --- a/integration-tests/engines.js +++ b/integration-tests/engines.js @@ -148,12 +148,13 @@ const engines = [ skipUnique: true, skipAutoIncrement: true, skipPkColumnTesting: true, + skipDataDuplicator: true, }, ]; const filterLocal = [ // filter local testing - 'MySQL', + '-MySQL', '-MariaDB', '-PostgreSQL', '-SQL Server',