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

jiangtian pushed a commit to branch fix_query_deletion_test
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git

commit 63e4535744af4e36a0f47993754fcd39c2c58b0d
Author: 江天 <[email protected]>
AuthorDate: Thu Apr 4 10:02:51 2019 +0800

    add some lag to let the sync process complete
---
 .../org/apache/iotdb/db/engine/modification/DeletionQueryTest.java     | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/iotdb/src/test/java/org/apache/iotdb/db/engine/modification/DeletionQueryTest.java
 
b/iotdb/src/test/java/org/apache/iotdb/db/engine/modification/DeletionQueryTest.java
index c3e7dc3..52c2df5 100644
--- 
a/iotdb/src/test/java/org/apache/iotdb/db/engine/modification/DeletionQueryTest.java
+++ 
b/iotdb/src/test/java/org/apache/iotdb/db/engine/modification/DeletionQueryTest.java
@@ -276,6 +276,9 @@ public class DeletionQueryTest {
 
     FileNodeManager.getInstance().closeAll();
 
+    // wait for the file sync
+    Thread.sleep(3000);
+
     List<Path> pathList = new ArrayList<>();
     pathList.add(new Path(processorName, measurements[3]));
     pathList.add(new Path(processorName, measurements[4]));

Reply via email to