Skip to content

Commit c37a52e

Browse files
committed
more timeout adjustments
1 parent eef2e11 commit c37a52e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/cubejs-testing-drivers/src/tests/testQueries.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const OP_DELAY = 1000;
2929

3030
export function testQueries(type: string, { includeIncrementalSchemaSuite, extendedEnv, includeHLLSuite, externalSchemaTests }: TestQueriesOptions = {}): void {
3131
describe(`Queries with the @cubejs-backend/${type}-driver${extendedEnv ? ` ${extendedEnv}` : ''}`, () => {
32-
jest.setTimeout(60 * 7 * 1000);
32+
jest.setTimeout(60 * 10 * 1000);
3333

3434
const isTesseractEnv = get('DRIVERS_TESTS_CUBEJS_TESSERACT_SQL_PLANNER').default('false').asBool();
3535

@@ -98,6 +98,10 @@ export function testQueries(type: string, { includeIncrementalSchemaSuite, exten
9898
await test(connection);
9999
} finally {
100100
await connection.end();
101+
102+
if (type.includes('redshift')) {
103+
await delay(OP_DELAY);
104+
}
101105
}
102106
});
103107
}

0 commit comments

Comments
 (0)