We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fde678 commit d7dac9eCopy full SHA for d7dac9e
client-v2/src/test/java/com/clickhouse/client/HttpTransportTests.java
@@ -778,7 +778,8 @@ public void testErrorWithSendProgressHeaders() throws Exception {
778
try (QueryResponse resp = client.query("INSERT INTO test_omm_table SELECT randomString(16) FROM numbers(300000000)", settings).get()) {
779
780
} catch (ServerException e) {
781
- Assert.assertEquals(e.getCode(), 241);
+ // 241 - MEMORY_LIMIT_EXCEEDED or 243 -NOT_ENOUGH_SPACE
782
+ Assert.assertTrue(e.getCode() == 241 || e.getCode() == 242);
783
}
784
785
0 commit comments