From 0ba7b5fb39c96da6b64ced880880ef6be2f67f81 Mon Sep 17 00:00:00 2001 From: Jan Prochazka Date: Fri, 13 Sep 2024 15:51:10 +0200 Subject: [PATCH] skip preload tests for clickhouse - not supported --- integration-tests/__tests__/deploy-database.spec.js | 6 +++--- integration-tests/engines.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/integration-tests/__tests__/deploy-database.spec.js b/integration-tests/__tests__/deploy-database.spec.js index 416f904f..bcbe4e74 100644 --- a/integration-tests/__tests__/deploy-database.spec.js +++ b/integration-tests/__tests__/deploy-database.spec.js @@ -167,7 +167,7 @@ describe('Deploy database', () => { }) ); - test.each(engines.map(engine => [engine.label, engine]))( + test.each(engines.filter(x => !x.skipReferences).map(engine => [engine.label, engine]))( 'Foreign keys - %s', testWrapper(async (conn, driver, engine) => { await testDatabaseDeploy( @@ -222,7 +222,7 @@ describe('Deploy database', () => { }) ); - test.each(engines.map(engine => [engine.label, engine]))( + test.each(engines.filter(x => !x.skipDataModifications).map(engine => [engine.label, engine]))( 'Deploy preloaded data - %s', testWrapper(async (conn, driver, engine) => { await testDatabaseDeploy(conn, driver, [ @@ -251,7 +251,7 @@ describe('Deploy database', () => { }) ); - test.each(engines.map(engine => [engine.label, engine]))( + test.each(engines.filter(x => !x.skipDataModifications).map(engine => [engine.label, engine]))( 'Deploy preloaded data - update - %s', testWrapper(async (conn, driver, engine) => { await testDatabaseDeploy(conn, driver, [ diff --git a/integration-tests/engines.js b/integration-tests/engines.js index 1312c5c6..2186c339 100644 --- a/integration-tests/engines.js +++ b/integration-tests/engines.js @@ -154,7 +154,7 @@ const engines = [ const filterLocal = [ // filter local testing - '-MySQL', + 'MySQL', '-MariaDB', '-PostgreSQL', '-SQL Server',