Skip to content

Commit 2ede016

Browse files
committed
fix test server address
1 parent e487a31 commit 2ede016

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
@@ -66,7 +66,7 @@ public void testSecureConnection() {
6666
ClickHouseNode secureServer = getSecureServer(ClickHouseProtocol.HTTP);
6767

6868
try (Client client = new Client.Builder()
69-
.addEndpoint("https://localhost:8443")
69+
.addEndpoint("https://localhost:" + secureServer.getPort())
7070
.setUsername("default")
7171
.setPassword("")
7272
.setRootCertificate("containers/clickhouse-server/certs/localhost.crt")

0 commit comments

Comments
 (0)