Skip to content

Commit 5892ceb

Browse files
committed
fixed async test
1 parent e01eadf commit 5892ceb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client-v2/src/test/java/com/clickhouse/client/insert/InsertTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ public void insertRawDataAsync(boolean async) throws Exception {
289289
List<GenericRecord> records = client.queryAll("SELECT * FROM " + tableName);
290290
assertEquals(records.size(), 1000);
291291
assertTrue(Thread.currentThread().getName()
292-
.startsWith(async ? "pool-1-thread-" : "main"), "Threads starts with " + Thread.currentThread().getName());
292+
.startsWith(async ? "pool-" : "main"), "Threads starts with " + Thread.currentThread().getName());
293293
})
294294
.join(); // wait operation complete. only for tests
295295
}

0 commit comments

Comments
 (0)