This is an automated email from the ASF dual-hosted git repository. Caideyipi pushed a commit to branch gras in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit c74241c51e4ffd253c5447fb311754875ee62517 Author: Caideyipi <[email protected]> AuthorDate: Fri May 22 14:19:04 2026 +0800 Use default credentials in multi-tags table IT --- .../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)) {
