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 2021/06/09 09:36:15 UTC
[iotdb] 01/02: Fix EnvScriptIT on Windows
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch WinBat
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 53b4e3ba77d88a9ec248603c8b069976bf178fa8
Author: HTHou <hh...@outlook.com>
AuthorDate: Wed Jun 9 17:34:43 2021 +0800
Fix EnvScriptIT on Windows
---
server/src/test/java/org/apache/iotdb/db/script/EnvScriptIT.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/src/test/java/org/apache/iotdb/db/script/EnvScriptIT.java b/server/src/test/java/org/apache/iotdb/db/script/EnvScriptIT.java
index 4051f06..e5feed9 100644
--- a/server/src/test/java/org/apache/iotdb/db/script/EnvScriptIT.java
+++ b/server/src/test/java/org/apache/iotdb/db/script/EnvScriptIT.java
@@ -87,7 +87,7 @@ public class EnvScriptIT {
}
runtimeOuput.add(line);
}
- assertEquals(output, runtimeOuput.get(runtimeOuput.size() - 1));
+ assertEquals(output, runtimeOuput.get(runtimeOuput.size() - 2));
} finally {
startReader.close();
startProcess.destroy();