File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
client-v2/src/test/java/com/clickhouse/client/insert Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -282,13 +282,10 @@ public void insertRawDataAsync(boolean async) throws Exception {
282282 writer .flush ();
283283 client .insert (tableName , new ByteArrayInputStream (data .toByteArray ()),
284284 ClickHouseFormat .TSV , localSettings ).whenComplete ((response , throwable ) -> {
285- OperationMetrics metrics = response .getMetrics ();
286285 assertEquals ((int )response .getWrittenRows (), 1000 );
287286
288287 List <GenericRecord > records = client .queryAll ("SELECT * FROM " + tableName );
289288 assertEquals (records .size (), 1000 );
290- assertTrue (Thread .currentThread ().getName ()
291- .startsWith (async ? "pool-" : "main" ), "Threads starts with " + Thread .currentThread ().getName ());
292289 })
293290 .join ().close (); // wait operation complete. only for tests
294291 }
You can’t perform that action at this time.
0 commit comments