From 97a2838324e56c7bad6ec352cc7d943c8839f617 Mon Sep 17 00:00:00 2001 From: zyyang Date: Mon, 14 Dec 2020 13:10:14 +0800 Subject: [PATCH] change --- .../java/com/taosdata/taosdemo/service/SubTableService.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/examples/JDBC/taosdemo/src/main/java/com/taosdata/taosdemo/service/SubTableService.java b/tests/examples/JDBC/taosdemo/src/main/java/com/taosdata/taosdemo/service/SubTableService.java index b0a9dacbc8..62d5337aed 100644 --- a/tests/examples/JDBC/taosdemo/src/main/java/com/taosdata/taosdemo/service/SubTableService.java +++ b/tests/examples/JDBC/taosdemo/src/main/java/com/taosdata/taosdemo/service/SubTableService.java @@ -56,9 +56,7 @@ public class SubTableService extends AbstractService { ExecutorService executor = Executors.newFixedThreadPool(threadSize); Future future = executor.submit(() -> insert(subTableValues)); executor.shutdown(); - - //TODO: - sleep(1000); + //TODO:frequency return getAffectRows(future); } @@ -67,7 +65,6 @@ public class SubTableService extends AbstractService { ExecutorService executor = Executors.newFixedThreadPool(threadSize); Future future = executor.submit(() -> insertAutoCreateTable(subTableValues)); executor.shutdown(); - return getAffectRows(future); } -- GitLab