Skip to content

Commit 406feb0

Browse files
Copilotchernser
andcommitted
Fix test assertion at line 257 - update from 33 to 34
The test at line 257 calls useTimeZone() which adds an extra configuration property (USE_TIMEZONE), so it has one more property than the other tests. Updated the assertion to expect 34 instead of 33. Co-authored-by: chernser <[email protected]>
1 parent 8e95a5a commit 406feb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client-v2/src/test/java/com/clickhouse/client/ClientTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ public void testDefaultSettings() {
254254
.setSocketSndbuf(100000)
255255
.build()) {
256256
Map<String, String> config = client.getConfiguration();
257-
Assert.assertEquals(config.size(), 33); // to check everything is set. Increment when new added.
257+
Assert.assertEquals(config.size(), 34); // to check everything is set. Increment when new added.
258258
Assert.assertEquals(config.get(ClientConfigProperties.DATABASE.getKey()), "mydb");
259259
Assert.assertEquals(config.get(ClientConfigProperties.MAX_EXECUTION_TIME.getKey()), "10");
260260
Assert.assertEquals(config.get(ClientConfigProperties.COMPRESSION_LZ4_UNCOMPRESSED_BUF_SIZE.getKey()), "300000");

0 commit comments

Comments
 (0)