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 2021/03/31 06:43:28 UTC
[iotdb] branch master updated: [IOTDB-1262] The test fails to be
executed independently
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/iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new 2e7a32e [IOTDB-1262] The test fails to be executed independently
2e7a32e is described below
commit 2e7a32ed9cc761b2f497397638297dfba46cda6b
Author: wangchao316 <57...@qq.com>
AuthorDate: Mon Mar 29 21:13:31 2021 +0800
[IOTDB-1262] The test fails to be executed independently
---
.../org/apache/iotdb/db/integration/IoTDBEngineTimeGeneratorIT.java | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/server/src/test/java/org/apache/iotdb/db/integration/IoTDBEngineTimeGeneratorIT.java b/server/src/test/java/org/apache/iotdb/db/integration/IoTDBEngineTimeGeneratorIT.java
index a407796..1d440e9 100644
--- a/server/src/test/java/org/apache/iotdb/db/integration/IoTDBEngineTimeGeneratorIT.java
+++ b/server/src/test/java/org/apache/iotdb/db/integration/IoTDBEngineTimeGeneratorIT.java
@@ -198,8 +198,12 @@ public class IoTDBEngineTimeGeneratorIT {
SingleSeriesExpression singleSeriesExpression =
new SingleSeriesExpression(pd0s0, FilterFactory.and(valueGtEq, timeGt));
+ RawDataQueryPlan queryPlan = new RawDataQueryPlan();
+ List<PartialPath> paths = new ArrayList<>();
+ paths.add(pd0s0);
+ queryPlan.setDeduplicatedPaths(paths);
ServerTimeGenerator timeGenerator =
- new ServerTimeGenerator(singleSeriesExpression, TEST_QUERY_CONTEXT, new RawDataQueryPlan());
+ new ServerTimeGenerator(singleSeriesExpression, TEST_QUERY_CONTEXT, queryPlan);
int cnt = 0;
while (timeGenerator.hasNext()) {