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/24 03:08:53 UTC

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

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 2523e14  fix test exception
2523e14 is described below

commit 2523e14118fdee3c1890bcff15b3603584a6fbea
Author: 江天 <jt...@163.com>
AuthorDate: Mon Jun 24 11:06:47 2019 +0800

    fix test exception
---
 .../org/apache/iotdb/db/query/reader/unsequence/UnseqReaderTest.java | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/iotdb/src/test/java/org/apache/iotdb/db/query/reader/unsequence/UnseqReaderTest.java b/iotdb/src/test/java/org/apache/iotdb/db/query/reader/unsequence/UnseqReaderTest.java
index e838d63..12aa3db 100644
--- a/iotdb/src/test/java/org/apache/iotdb/db/query/reader/unsequence/UnseqReaderTest.java
+++ b/iotdb/src/test/java/org/apache/iotdb/db/query/reader/unsequence/UnseqReaderTest.java
@@ -20,6 +20,7 @@
 package org.apache.iotdb.db.query.reader.unsequence;
 
 import org.apache.iotdb.db.engine.querycontext.QueryDataSourceV2;
+import org.apache.iotdb.db.exception.FileNodeProcessorException;
 import org.apache.iotdb.db.query.factory.SeriesReaderFactoryImpl;
 import org.apache.iotdb.db.query.reader.IPointReader;
 import org.apache.iotdb.db.query.reader.ReaderTestHelper;
@@ -49,7 +50,7 @@ public class UnseqReaderTest extends ReaderTestHelper {
     }
 
     @Test
-    public void testUnSeqReaderWithGlobalTimeFilter() throws IOException {
+    public void testUnSeqReaderWithGlobalTimeFilter() throws IOException, FileNodeProcessorException {
         Path path = new Path(deviceId, measurementId);
         QueryDataSourceV2 queryDataSource = fileNodeProcessorV2.query(deviceId, measurementId);
         IPointReader reader = SeriesReaderFactoryImpl.getInstance().createUnSeqReader(path,
@@ -65,7 +66,7 @@ public class UnseqReaderTest extends ReaderTestHelper {
     }
 
     @Test
-    public void testUnSeqReaderWithoutFilter() throws IOException {
+    public void testUnSeqReaderWithoutFilter() throws IOException, FileNodeProcessorException {
         Path path = new Path(deviceId, measurementId);
         QueryDataSourceV2 queryDataSource = fileNodeProcessorV2.query(deviceId, measurementId);
         IPointReader reader = SeriesReaderFactoryImpl.getInstance().createUnSeqReader(path,