This is an automated email from the ASF dual-hosted git repository.
Caideyipi pushed a commit to branch no-root
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/no-root by this push:
new 307774c3927 Update IoTDBLegacyPipeReceiverSecurityIT.java (#17795)
307774c3927 is described below
commit 307774c3927ac4e16a5172af0daa3a1e51f06ce8
Author: Caideyipi <[email protected]>
AuthorDate: Fri May 29 19:53:58 2026 +0800
Update IoTDBLegacyPipeReceiverSecurityIT.java (#17795)
---
.../iotdb/pipe/it/single/IoTDBLegacyPipeReceiverSecurityIT.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git
a/integration-test/src/test/java/org/apache/iotdb/pipe/it/single/IoTDBLegacyPipeReceiverSecurityIT.java
b/integration-test/src/test/java/org/apache/iotdb/pipe/it/single/IoTDBLegacyPipeReceiverSecurityIT.java
index 51e1e211535..8647e776b50 100644
---
a/integration-test/src/test/java/org/apache/iotdb/pipe/it/single/IoTDBLegacyPipeReceiverSecurityIT.java
+++
b/integration-test/src/test/java/org/apache/iotdb/pipe/it/single/IoTDBLegacyPipeReceiverSecurityIT.java
@@ -23,6 +23,7 @@ import org.apache.iotdb.common.rpc.thrift.TSStatus;
import org.apache.iotdb.commons.client.property.ThriftClientProperty;
import org.apache.iotdb.commons.conf.IoTDBConstant;
import org.apache.iotdb.commons.pipe.sink.client.IoTDBSyncClient;
+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;
@@ -102,8 +103,8 @@ public class IoTDBLegacyPipeReceiverSecurityIT {
private TSOpenSessionReq createOpenSessionReq() {
final TSOpenSessionReq req = new TSOpenSessionReq();
req.setClient_protocol(TSProtocolVersion.IOTDB_SERVICE_PROTOCOL_V3);
- req.setUsername("root");
- req.setPassword("root");
+ req.setUsername(SessionConfig.DEFAULT_USER);
+ req.setPassword(SessionConfig.DEFAULT_PASSWORD);
req.setZoneId(ZoneId.systemDefault().toString());
req.putToConfiguration("version",
IoTDBConstant.ClientVersion.V_1_0.toString());
req.putToConfiguration("sql_dialect", "tree");