From ac0c46636b190b17c2df4f5fdd72d90e4a66b2d9 Mon Sep 17 00:00:00 2001 From: Serge Klochkov Date: Sat, 31 Aug 2024 21:19:45 +0300 Subject: [PATCH] Add Node.js 22, increase test request_timeout --- .github/workflows/tests.yml | 8 ++++---- packages/client-common/__tests__/utils/client.ts | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6439dbb0..74c25a21 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -26,7 +26,7 @@ jobs: strategy: fail-fast: true matrix: - node: [18, 20, 21] + node: [18, 20, 22] steps: - uses: actions/checkout@main @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: true matrix: - node: [18, 20, 21] + node: [18, 20, 22] clickhouse: [head, latest] steps: @@ -134,7 +134,7 @@ jobs: strategy: fail-fast: true matrix: - node: [18, 20, 21] + node: [18, 20, 22] clickhouse: [head, latest] steps: @@ -198,7 +198,7 @@ jobs: strategy: fail-fast: true matrix: - node: [18, 20, 21] + node: [18, 20, 22] steps: - uses: actions/checkout@main diff --git a/packages/client-common/__tests__/utils/client.ts b/packages/client-common/__tests__/utils/client.ts index c086f08b..758b579e 100644 --- a/packages/client-common/__tests__/utils/client.ts +++ b/packages/client-common/__tests__/utils/client.ts @@ -58,6 +58,7 @@ export function createTestClient( url: `https://${getFromEnv(EnvKeys.host)}:8443`, password: getFromEnv(EnvKeys.password), database: databaseName, + request_timeout: 60_000, ...logging, ...config, clickhouse_settings: clickHouseSettings,