This is an automated email from the ASF dual-hosted git repository.

jackietien 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 8eaaa7f1111 Fix WalNodeTest
8eaaa7f1111 is described below

commit 8eaaa7f1111b16761a5f7ef8a384df9d523e13ea
Author: Jiang Tian <[email protected]>
AuthorDate: Fri Jun 28 09:06:17 2024 +0800

    Fix WalNodeTest
---
 .../apache/iotdb/db/storageengine/dataregion/wal/node/WALNodeTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/iotdb-core/datanode/src/test/java/org/apache/iotdb/db/storageengine/dataregion/wal/node/WALNodeTest.java
 
b/iotdb-core/datanode/src/test/java/org/apache/iotdb/db/storageengine/dataregion/wal/node/WALNodeTest.java
index a3c2e71e4d2..f72f55a3cb8 100644
--- 
a/iotdb-core/datanode/src/test/java/org/apache/iotdb/db/storageengine/dataregion/wal/node/WALNodeTest.java
+++ 
b/iotdb-core/datanode/src/test/java/org/apache/iotdb/db/storageengine/dataregion/wal/node/WALNodeTest.java
@@ -292,7 +292,7 @@ public class WALNodeTest {
         .setDataRegion(
             new DataRegionId(1), new 
DataRegionTest.DummyDataRegion(logDirectory, databasePath));
     walNode.onMemTableCreated(memTable, tsFilePath);
-    while (walNode.getCurrentLogVersion() == 0) {
+    while (time < 20000) {
       ++time;
       InsertTabletNode insertTabletNode =
           getInsertTabletNode(devicePath + memTableId, new long[] {time});

Reply via email to