You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by hx...@apache.org on 2019/07/14 01:06:08 UTC

[incubator-iotdb] branch master updated: fix WriteLogNodeManagerTest failure (Travis #2557)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new fd815e1  fix WriteLogNodeManagerTest failure (Travis #2557)
fd815e1 is described below

commit fd815e1f328de4bb7af14f2c2846e32e1f232eea
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Sun Jul 14 08:59:10 2019 +0800

    fix WriteLogNodeManagerTest failure (Travis #2557)
---
 .../java/org/apache/iotdb/db/writelog/WriteLogNodeManagerTest.java  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/iotdb/src/test/java/org/apache/iotdb/db/writelog/WriteLogNodeManagerTest.java b/iotdb/src/test/java/org/apache/iotdb/db/writelog/WriteLogNodeManagerTest.java
index f320c6e..5a3abe6 100644
--- a/iotdb/src/test/java/org/apache/iotdb/db/writelog/WriteLogNodeManagerTest.java
+++ b/iotdb/src/test/java/org/apache/iotdb/db/writelog/WriteLogNodeManagerTest.java
@@ -89,12 +89,12 @@ public class WriteLogNodeManagerTest {
         new String[]{"1.0", "15", "str", "false"});
     DeletePlan deletePlan = new DeletePlan(50, new Path("root.logTestDevice.s1"));
 
-    logNode.write(bwInsertPlan);
-    logNode.write(deletePlan);
-
     File walFile = new File(logNode.getLogDirectory() + File.separator + "wal1");
     assertTrue(!walFile.exists());
 
+    logNode.write(bwInsertPlan);
+    logNode.write(deletePlan);
+
     Thread.sleep(config.getForceWalPeriodInMs() + 1000);
     assertTrue(walFile.exists());