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 0d1b838de06 Use default credentials in multi-tags table IT (#17744)
0d1b838de06 is described below

commit 0d1b838de0697b24218a1e15f99f99ff85f8f2df
Author: Caideyipi <[email protected]>
AuthorDate: Fri May 22 15:57:36 2026 +0800

    Use default credentials in multi-tags table IT (#17744)
---
 .../it/db/it/IoTDBMultiTAGsWithAttributesTableIT.java     | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git 
a/integration-test/src/test/java/org/apache/iotdb/relational/it/db/it/IoTDBMultiTAGsWithAttributesTableIT.java
 
b/integration-test/src/test/java/org/apache/iotdb/relational/it/db/it/IoTDBMultiTAGsWithAttributesTableIT.java
index 289ae7789a4..7243ca57366 100644
--- 
a/integration-test/src/test/java/org/apache/iotdb/relational/it/db/it/IoTDBMultiTAGsWithAttributesTableIT.java
+++ 
b/integration-test/src/test/java/org/apache/iotdb/relational/it/db/it/IoTDBMultiTAGsWithAttributesTableIT.java
@@ -19,6 +19,7 @@
 
 package org.apache.iotdb.relational.it.db.it;
 
+import org.apache.iotdb.isession.SessionConfig;
 import org.apache.iotdb.it.env.EnvFactory;
 import org.apache.iotdb.it.env.cluster.node.DataNodeWrapper;
 import org.apache.iotdb.it.framework.IoTDBTestRunner;
@@ -2962,7 +2963,12 @@ public class IoTDBMultiTAGsWithAttributesTableIT {
   private static void executeTableStatementOnSingleDataNode(
       final DataNodeWrapper dataNodeWrapper, final String sql) throws 
Exception {
     try (final Connection connection =
-            EnvFactory.getEnv().getConnection(dataNodeWrapper, "root", "root", 
"table");
+            EnvFactory.getEnv()
+                .getConnection(
+                    dataNodeWrapper,
+                    SessionConfig.DEFAULT_USER,
+                    SessionConfig.DEFAULT_PASSWORD,
+                    "table");
         final Statement statement = connection.createStatement()) {
       statement.execute(sql);
     }
@@ -2975,7 +2981,12 @@ public class IoTDBMultiTAGsWithAttributesTableIT {
       final String[] expectedRetArray)
       throws Exception {
     try (final Connection connection =
-            EnvFactory.getEnv().getConnection(dataNodeWrapper, "root", "root", 
"table");
+            EnvFactory.getEnv()
+                .getConnection(
+                    dataNodeWrapper,
+                    SessionConfig.DEFAULT_USER,
+                    SessionConfig.DEFAULT_PASSWORD,
+                    "table");
         final Statement statement = connection.createStatement()) {
       statement.execute("use " + DATABASE_NAME);
       try (final ResultSet resultSet = statement.executeQuery(sql)) {

Reply via email to