Skip to content

Commit 2fde678

Browse files
committed
Change to the correct Exception
1 parent ba72853 commit 2fde678

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ public void testInsertAndNoHttpResponseFailure(String body, int maxRetries, Thro
281281

282282
try {
283283
function.apply(mockServerClient);
284-
} catch (ClientException e) {
284+
} catch (ConnectionInitiationException e) {
285285
e.printStackTrace();
286286
if (!shouldFail) {
287287
Assert.fail("Unexpected exception", e);

0 commit comments

Comments
 (0)