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

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


The following commit(s) were added to refs/heads/master by this push:
     new 3976682  fix progressBar print problem (#1805)
3976682 is described below

commit 39766821aa8bcef229ec25f523a4245f939680bf
Author: chaow <[email protected]>
AuthorDate: Wed Oct 7 10:13:50 2020 +0800

    fix progressBar print problem (#1805)
---
 .../org/apache/iotdb/cross/tests/tools/importCsv/AbstractScript.java  | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git 
a/cross-tests/src/test/java/org/apache/iotdb/cross/tests/tools/importCsv/AbstractScript.java
 
b/cross-tests/src/test/java/org/apache/iotdb/cross/tests/tools/importCsv/AbstractScript.java
index 17f8c5a..3598300 100644
--- 
a/cross-tests/src/test/java/org/apache/iotdb/cross/tests/tools/importCsv/AbstractScript.java
+++ 
b/cross-tests/src/test/java/org/apache/iotdb/cross/tests/tools/importCsv/AbstractScript.java
@@ -49,9 +49,7 @@ public abstract class AbstractScript {
       System.out.println(out);
     }
 
-    for (int i = 0; i < output.length; i++) {
-      assertTrue(actualOutput.get(i).startsWith(output[i]));
-    }
+    assertTrue(actualOutput.get(actualOutput.size() - 
1).startsWith(output[output.length - 1]));
   }
 
   protected String getCliPath() {

Reply via email to