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

jiangtian pushed a commit to branch fix_WalNodeTest
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/fix_WalNodeTest by this push:
     new f31fbdc87ed change num of requests to a fixed number to avoid 
uncertainty
f31fbdc87ed is described below

commit f31fbdc87ed165cf81e5000917e53c7acfb82842
Author: jt2594838 <[email protected]>
AuthorDate: Thu Jun 27 18:44:18 2024 +0800

    change num of requests to a fixed number to avoid uncertainty
---
 .../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