From 7c1f2522e2412b93a404b79bbf0ba7aa4e2dba29 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Fri, 30 Aug 2024 17:42:54 +0100 Subject: [PATCH] Another test. --- .../server/src/api/routes/tests/row.spec.ts | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/packages/server/src/api/routes/tests/row.spec.ts b/packages/server/src/api/routes/tests/row.spec.ts index e941c0b267..f9d094190d 100644 --- a/packages/server/src/api/routes/tests/row.spec.ts +++ b/packages/server/src/api/routes/tests/row.spec.ts @@ -76,11 +76,11 @@ async function waitForEvent( describe.each([ ["internal", undefined], ["sqs", undefined], - [DatabaseName.POSTGRES, getDatasource(DatabaseName.POSTGRES)], - [DatabaseName.MYSQL, getDatasource(DatabaseName.MYSQL)], - [DatabaseName.SQL_SERVER, getDatasource(DatabaseName.SQL_SERVER)], - [DatabaseName.MARIADB, getDatasource(DatabaseName.MARIADB)], - [DatabaseName.ORACLE, getDatasource(DatabaseName.ORACLE)], + // [DatabaseName.POSTGRES, getDatasource(DatabaseName.POSTGRES)], + // [DatabaseName.MYSQL, getDatasource(DatabaseName.MYSQL)], + // [DatabaseName.SQL_SERVER, getDatasource(DatabaseName.SQL_SERVER)], + // [DatabaseName.MARIADB, getDatasource(DatabaseName.MARIADB)], + // [DatabaseName.ORACLE, getDatasource(DatabaseName.ORACLE)], ])("/rows (%s)", (providerType, dsProvider) => { const isInternal = dsProvider === undefined const isLucene = providerType === "lucene" @@ -95,9 +95,11 @@ describe.each([ let envCleanup: (() => void) | undefined beforeAll(async () => { - await withCoreEnv({ TENANT_FEATURE_FLAGS: "*SQS" }, () => config.init()) - if (isSqs) { - envCleanup = setCoreEnv({ TENANT_FEATURE_FLAGS: "*SQS" }) + await withCoreEnv({ TENANT_FEATURE_FLAGS: "*:SQS" }, () => config.init()) + if (isLucene) { + envCleanup = setCoreEnv({ TENANT_FEATURE_FLAGS: "*:!SQS" }) + } else if (isSqs) { + envCleanup = setCoreEnv({ TENANT_FEATURE_FLAGS: "*:SQS" }) } if (dsProvider) {