Skip to content

Commit 6429d6f

Browse files
committed
added test assertion :-)
1 parent 4a67583 commit 6429d6f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -533,6 +533,8 @@ public void testErrorWithSendProgressHeaders() throws Exception {
533533

534534
try (QueryResponse resp = client.query("INSERT INTO test_omm_table SELECT randomString(16) FROM numbers(300000000)", settings).get()) {
535535

536+
} catch (ServerException e) {
537+
Assert.assertEquals(e.getCode(), 241);
536538
}
537539
}
538540
}

0 commit comments

Comments
 (0)