Skip to content

Commit 967ab47

Browse files
committed
reverted back test instance
1 parent 1bc5dfe commit 967ab47

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,8 +255,8 @@ jobs:
255255
echo "CLIENT_JWT=$(node jwt-gen.js)" >> "$GITHUB_ENV"
256256
- name: Test http client
257257
env:
258-
CLICKHOUSE_CLOUD_HOST: ${{ secrets.CLOUD_INSTANCE_HOST }}
259-
CLICKHOUSE_CLOUD_PASSWORD: ${{ secrets.CLOUD_INSTANCE_PASSWORD }}
258+
CLICKHOUSE_CLOUD_HOST: ${{ secrets.INTEGRATIONS_TEAM_TESTS_CLOUD_HOST_SMT }}
259+
CLICKHOUSE_CLOUD_PASSWORD: ${{ secrets.INTEGRATIONS_TEAM_TESTS_CLOUD_PASSWORD_SMT }}
260260
run: |
261261
mvn --batch-mode --no-transfer-progress --projects ${{ matrix.project }} -DclickhouseVersion=${{ matrix.clickhouse }} -Dprotocol=http verify
262262
- name: Upload test results

client-v2/src/main/java/com/clickhouse/client/api/internal/ServerSettings.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,8 @@ public final class ServerSettings {
3232
* Possible values are 'throw' or 'break'. Default is 'throw'
3333
*/
3434
public static final String RESULT_OVERFLOW_MODE = "result_overflow_mode";
35+
36+
public static final String ASYNC_INSERT = "async_insert";
37+
38+
public static final String WAIT_ASYNC_INSERT = "wait_for_async_insert";
3539
}

client-v2/src/test/java/com/clickhouse/client/query/QueryTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1930,7 +1930,7 @@ protected Client.Builder newClient() {
19301930
.useHttpCompression(useHttpCompression)
19311931
.allowBinaryReaderToReuseBuffers(usePreallocatedBuffers)
19321932
.setDefaultDatabase(ClickHouseServerForTest.getDatabase())
1933-
.serverSetting(ServerSettings.WAIT_END_OF_QUERY, "1")
1933+
.serverSetting(ServerSettings.WAIT_ASYNC_INSERT, "1")
19341934
.useNewImplementation(System.getProperty("client.tests.useNewImplementation", "true").equals("true"));
19351935
}
19361936

0 commit comments

Comments
 (0)