You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2022/11/08 07:36:22 UTC
[iotdb] 03/06: fix more tests
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch remove_storage_engine_old
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 795fd6f4c4dbedd7f1547addb31da8bf24fd5ef9
Author: HTHou <hh...@outlook.com>
AuthorDate: Tue Nov 8 12:37:59 2022 +0800
fix more tests
---
.../org/apache/iotdb/db/wal/recover/file/TsFilePlanRedoerTest.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/server/src/test/java/org/apache/iotdb/db/wal/recover/file/TsFilePlanRedoerTest.java b/server/src/test/java/org/apache/iotdb/db/wal/recover/file/TsFilePlanRedoerTest.java
index c3310c2d95..47c269809f 100644
--- a/server/src/test/java/org/apache/iotdb/db/wal/recover/file/TsFilePlanRedoerTest.java
+++ b/server/src/test/java/org/apache/iotdb/db/wal/recover/file/TsFilePlanRedoerTest.java
@@ -692,11 +692,11 @@ public class TsFilePlanRedoerTest {
// redo InsertTabletPlan, data region is used to test IdTable, don't test IdTable here
TsFilePlanRedoer planRedoer = new TsFilePlanRedoer(tsFileResource, true, null);
MeasurementSchema[] schemas = new MeasurementSchema[] {
- new MeasurementSchema("s1", TSDataType.INT32),
+ null,
new MeasurementSchema("s2", TSDataType.INT64),
new MeasurementSchema("s3", TSDataType.BOOLEAN),
new MeasurementSchema("s4", TSDataType.FLOAT),
- new MeasurementSchema("s5", TSDataType.TEXT)
+ null
};
insertTabletNode.setMeasurementSchemas(schemas);
planRedoer.redoInsert(insertTabletNode);
@@ -714,7 +714,7 @@ public class TsFilePlanRedoerTest {
new PlanNodeId(""),
new PartialPath(DEVICE3_NAME),
true,
- new String[] {"s1", "s2", "s3", "s4", "s5"},
+ new String[] {null, "s2", "s3", "s4", null},
dataTypes2,
time,
columns2,