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 b0a9dacbc8ea32c4a42f1a5b0728bf0f4efb74d7..62d5337aed26f70a314b7863340fa5cd7ab4a4cf 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); }