You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ji...@apache.org on 2019/04/22 08:20:58 UTC

[incubator-iotdb] branch fix_wal_checker updated: fix test

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

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


The following commit(s) were added to refs/heads/fix_wal_checker by this push:
     new 19a1eed  fix test
19a1eed is described below

commit 19a1eed34017f71140dfaf8b8608e0d62f7c50f9
Author: 江天 <jt...@163.com>
AuthorDate: Mon Apr 22 16:19:38 2019 +0800

    fix test
---
 iotdb/src/test/java/org/apache/iotdb/db/tools/WalCheckerTest.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/iotdb/src/test/java/org/apache/iotdb/db/tools/WalCheckerTest.java b/iotdb/src/test/java/org/apache/iotdb/db/tools/WalCheckerTest.java
index 8f5eb80..8619eba 100644
--- a/iotdb/src/test/java/org/apache/iotdb/db/tools/WalCheckerTest.java
+++ b/iotdb/src/test/java/org/apache/iotdb/db/tools/WalCheckerTest.java
@@ -146,6 +146,7 @@ public class WalCheckerTest {
 
         FileOutputStream fileOutputStream = new FileOutputStream(new File(subDir, WAL_FILE_NAME));
         fileOutputStream.write(i);
+        fileOutputStream.close();
       }
 
       WalChecker checker = new WalChecker(tempRoot.getAbsolutePath());