You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by xi...@apache.org on 2023/04/18 04:36:11 UTC

[iotdb] branch guonengtest updated: write loop to 100000

This is an automated email from the ASF dual-hosted git repository.

xingtanzjr pushed a commit to branch guonengtest
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/guonengtest by this push:
     new a2e5d4edb2 write loop to 100000
a2e5d4edb2 is described below

commit a2e5d4edb29b51c16ac314e64be3a028a659bbb6
Author: Jinrui.Zhang <xi...@gmail.com>
AuthorDate: Tue Apr 18 12:35:59 2023 +0800

    write loop to 100000
---
 example/session/src/main/java/org/apache/iotdb/WriterTest.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/example/session/src/main/java/org/apache/iotdb/WriterTest.java b/example/session/src/main/java/org/apache/iotdb/WriterTest.java
index 7136ce7207..299b4dd096 100644
--- a/example/session/src/main/java/org/apache/iotdb/WriterTest.java
+++ b/example/session/src/main/java/org/apache/iotdb/WriterTest.java
@@ -45,7 +45,7 @@ public class WriterTest {
 
   private static int SENSOR_NUMBER = 500;
 
-  private static int TOTAL_BATCH_COUNT_PER_DEVICE = 100;
+  private static int WRITE_LOOP = 100000;
 
   private static List<String> measurements;
 
@@ -126,7 +126,7 @@ public class WriterTest {
 
     @Override
     public void run() {
-      for (int j = 0; j < TOTAL_BATCH_COUNT_PER_DEVICE; j++) {
+      for (int j = 0; j < WRITE_LOOP; j++) {
         signal.syncCountDownBeforeInsert();
         try {
           int insertDeviceCount = insertRecords(index, signal.currentTimestamp);