You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by xi...@apache.org on 2021/06/04 08:00:05 UTC
[iotdb] branch master updated: Fix bug in disable align it (#3333)
This is an automated email from the ASF dual-hosted git repository.
xiangweiwei 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 22d8e0d Fix bug in disable align it (#3333)
22d8e0d is described below
commit 22d8e0d5d19e87431d6bc41f66dbe7572ef09719
Author: Haimei Guo <68...@users.noreply.github.com>
AuthorDate: Fri Jun 4 15:59:40 2021 +0800
Fix bug in disable align it (#3333)
---
.../test/java/org/apache/iotdb/db/integration/IoTDBDisableAlignIT.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/src/test/java/org/apache/iotdb/db/integration/IoTDBDisableAlignIT.java b/server/src/test/java/org/apache/iotdb/db/integration/IoTDBDisableAlignIT.java
index f96648d..d953d04 100644
--- a/server/src/test/java/org/apache/iotdb/db/integration/IoTDBDisableAlignIT.java
+++ b/server/src/test/java/org/apache/iotdb/db/integration/IoTDBDisableAlignIT.java
@@ -410,7 +410,7 @@ public class IoTDBDisableAlignIT {
String columnName = resultSetMetaData.getColumnName(i);
Integer typeIndex = expectedHeaderToTypeIndexMap.get(columnName);
if (typeIndex != null) {
- Assert.assertEquals(expectedTypes[typeIndex], resultSetMetaData.getColumnType(1 + i / 2));
+ Assert.assertEquals(expectedTypes[typeIndex], resultSetMetaData.getColumnType(i));
}
actualIndexToExpectedIndexList.add(expectedHeaderToColumnIndexMap.get(columnName));
}