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 2020/11/07 10:19:53 UTC
[iotdb] 01/01: add debug codes for testing why
IoTDBOverlappedPageIT failed
This is an automated email from the ASF dual-hosted git repository.
hxd pushed a commit to branch debug_overlappedPageTest
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 493200efab65c111cee18ab74a53925638fbad99
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Sat Nov 7 18:19:25 2020 +0800
add debug codes for testing why IoTDBOverlappedPageIT failed
---
.../java/org/apache/iotdb/db/integration/IoTDBOverlappedPageIT.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/server/src/test/java/org/apache/iotdb/db/integration/IoTDBOverlappedPageIT.java b/server/src/test/java/org/apache/iotdb/db/integration/IoTDBOverlappedPageIT.java
index daea618..d718038 100644
--- a/server/src/test/java/org/apache/iotdb/db/integration/IoTDBOverlappedPageIT.java
+++ b/server/src/test/java/org/apache/iotdb/db/integration/IoTDBOverlappedPageIT.java
@@ -90,6 +90,9 @@ public class IoTDBOverlappedPageIT {
try {
while (resultSet.next()) {
String ans = resultSet.getString(TIMESTAMP_STR) + "," + resultSet.getString("root.vehicle.d0.s0");
+ if (cnt >= 10) {
+ fail(ans);
+ }
Assert.assertEquals(res[cnt], ans);
cnt++;
}