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 20acfc3 commit 73cd4b2Copy full SHA for 73cd4b2
client-v2/src/test/java/com/clickhouse/client/ClientTests.java
@@ -130,11 +130,10 @@ public void testSetOptions() {
130
131
@Test
132
public void testLoadingServerContext() throws Exception {
133
-
134
long start = System.nanoTime();
135
try (Client client = newClient().build()) {
136
- long initTime = System.nanoTime() - start;
137
- System.out.println("init time " + (initTime / 1_000_000));
+ long initTime = (System.nanoTime() - start) / 1_000_000;
+ Assert.assertTrue(initTime < 100);
138
Assert.assertNull(client.getServerVersion());
139
client.loadServerInfo();
140
Assert.assertNotNull(client.getServerVersion());
0 commit comments