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

Caideyipi 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 09fba6889f3 Fix missing Objects import in ConfigurationFileUtilsTest 
(#17992)
09fba6889f3 is described below

commit 09fba6889f36fcae0e38a5bad45751757ec9d121
Author: Caideyipi <[email protected]>
AuthorDate: Thu Jun 18 18:36:22 2026 +0800

    Fix missing Objects import in ConfigurationFileUtilsTest (#17992)
---
 .../main/java/org/apache/iotdb/it/env/cluster/env/AbstractEnv.java    | 4 ++--
 .../java/org/apache/iotdb/db/utils/ConfigurationFileUtilsTest.java    | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git 
a/integration-test/src/main/java/org/apache/iotdb/it/env/cluster/env/AbstractEnv.java
 
b/integration-test/src/main/java/org/apache/iotdb/it/env/cluster/env/AbstractEnv.java
index 82513929b69..df0b31090f5 100644
--- 
a/integration-test/src/main/java/org/apache/iotdb/it/env/cluster/env/AbstractEnv.java
+++ 
b/integration-test/src/main/java/org/apache/iotdb/it/env/cluster/env/AbstractEnv.java
@@ -557,7 +557,7 @@ public abstract class AbstractEnv implements BaseEnv {
         .append(processStatusPassed)
         .append(", expectedNodeSize=")
         .append(
-            configNodeWrapperList.size() + dataNodeWrapperList.size() + 
aiNodeWrapperList.size())
+            configNodeWrapperList.size() + dataNodeWrapperList.size() + 
extraNodeWrappers.size())
         .append(", actualNodeSize=")
         .append(actualNodeSize);
     if (showClusterStatus != null) {
@@ -592,7 +592,7 @@ public abstract class AbstractEnv implements BaseEnv {
     final List<AbstractNodeWrapper> allNodeWrappers = new ArrayList<>();
     allNodeWrappers.addAll(configNodeWrapperList);
     allNodeWrappers.addAll(dataNodeWrapperList);
-    allNodeWrappers.addAll(aiNodeWrapperList);
+    allNodeWrappers.addAll(extraNodeWrappers);
     return allNodeWrappers.stream()
         .map(AbstractNodeWrapper::getLogDirPath)
         .distinct()
diff --git 
a/iotdb-core/datanode/src/test/java/org/apache/iotdb/db/utils/ConfigurationFileUtilsTest.java
 
b/iotdb-core/datanode/src/test/java/org/apache/iotdb/db/utils/ConfigurationFileUtilsTest.java
index a21b8fc58c2..7223ad7dcd9 100644
--- 
a/iotdb-core/datanode/src/test/java/org/apache/iotdb/db/utils/ConfigurationFileUtilsTest.java
+++ 
b/iotdb-core/datanode/src/test/java/org/apache/iotdb/db/utils/ConfigurationFileUtilsTest.java
@@ -36,6 +36,7 @@ import java.io.InputStreamReader;
 import java.nio.file.Files;
 import java.util.HashSet;
 import java.util.Map;
+import java.util.Objects;
 import java.util.Properties;
 import java.util.Set;
 

Reply via email to