Skip to content

Commit 8b9325a

Browse files
committed
switched to a new cloud instance
1 parent 1a011e6 commit 8b9325a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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
@@ -608,7 +608,7 @@ public void testQueryExceptionHandling() throws Exception {
608608
client.queryRecords("SELECT * FROM unknown_table").get(3, TimeUnit.SECONDS);
609609
Assert.fail("exception is expected");
610610
} catch (ServerException e) {
611-
Assert.assertTrue(e.getMessage().contains("does not exist"), e.getMessage());
611+
Assert.assertEquals(e.getCode(), 60);
612612
} catch (ExecutionException e) {
613613
Assert.assertTrue(e.getCause() instanceof ServerException);
614614
} catch (ClientException e) {

0 commit comments

Comments
 (0)