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/06/26 04:00:22 UTC

[incubator-iotdb] branch feature_async_close_tsfile updated: fix a test

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

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


The following commit(s) were added to refs/heads/feature_async_close_tsfile by this push:
     new 8ffe30f  fix a test
8ffe30f is described below

commit 8ffe30f55635752cb5348ae02b40bbef729484a8
Author: 江天 <jt...@163.com>
AuthorDate: Wed Jun 26 11:58:14 2019 +0800

    fix a test
---
 .../apache/iotdb/tsfile/write/writer/NativeRestorableIOWriterTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tsfile/src/test/java/org/apache/iotdb/tsfile/write/writer/NativeRestorableIOWriterTest.java b/tsfile/src/test/java/org/apache/iotdb/tsfile/write/writer/NativeRestorableIOWriterTest.java
index b75f84f..88a0149 100644
--- a/tsfile/src/test/java/org/apache/iotdb/tsfile/write/writer/NativeRestorableIOWriterTest.java
+++ b/tsfile/src/test/java/org/apache/iotdb/tsfile/write/writer/NativeRestorableIOWriterTest.java
@@ -187,8 +187,8 @@ public class NativeRestorableIOWriterTest {
     assertEquals(5.0f, record.getFields().get(0).getFloatV(), 0.001);
     assertEquals(4.0f, record.getFields().get(1).getFloatV(), 0.001);
     readOnlyTsFile.close();
+    assertFalse(dataSet.hasNext());
 
-    assertEquals(271, rWriter.getTruncatedPosition());
     assertTrue(file.delete());
   }