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

Caideyipi pushed a commit to branch dev/1.3
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/dev/1.3 by this push:
     new 4e79b049cd9 Use column header constants in pipe authentication 
assertions (#19131) (#19167)
4e79b049cd9 is described below

commit 4e79b049cd960b157d3dcf3b2469da1b419fbe20
Author: Caideyipi <[email protected]>
AuthorDate: Mon Nov 9 10:55:36 2026 +0800

    Use column header constants in pipe authentication assertions (#19131) 
(#19167)
    
    * Use column header constants in pipe user assertions
    
    * Use canonical column names in pipe privilege assertions
    
    (cherry picked from commit 0ed7549b9b9c9512f0f5a8b1ba7bfd042456fa31)
---
 .../org/apache/iotdb/pipe/it/manual/IoTDBPipePermissionIT.java    | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git 
a/integration-test/src/test/java/org/apache/iotdb/pipe/it/manual/IoTDBPipePermissionIT.java
 
b/integration-test/src/test/java/org/apache/iotdb/pipe/it/manual/IoTDBPipePermissionIT.java
index 55c8877cb02..25235fdb91f 100644
--- 
a/integration-test/src/test/java/org/apache/iotdb/pipe/it/manual/IoTDBPipePermissionIT.java
+++ 
b/integration-test/src/test/java/org/apache/iotdb/pipe/it/manual/IoTDBPipePermissionIT.java
@@ -24,6 +24,7 @@ import 
org.apache.iotdb.commons.client.sync.SyncConfigNodeIServiceClient;
 import org.apache.iotdb.confignode.rpc.thrift.TCreatePipeReq;
 import org.apache.iotdb.consensus.ConsensusFactory;
 import org.apache.iotdb.db.it.utils.TestUtils;
+import org.apache.iotdb.db.queryengine.common.header.ColumnHeaderConstant;
 import org.apache.iotdb.it.env.MultiEnvFactory;
 import org.apache.iotdb.it.env.cluster.node.DataNodeWrapper;
 import org.apache.iotdb.it.framework.IoTDBTestRunner;
@@ -148,7 +149,7 @@ public class IoTDBPipePermissionIT extends 
AbstractPipeDualManualIT {
       TestUtils.assertDataEventuallyOnEnv(
           receiverEnv,
           "list user",
-          "User,",
+          ColumnHeaderConstant.USER + ",",
           new HashSet<>(Arrays.asList("root,", "user,", "thulab,")));
       final Set<String> expectedResSet = new HashSet<>();
       expectedResSet.add(
@@ -228,7 +229,10 @@ public class IoTDBPipePermissionIT extends 
AbstractPipeDualManualIT {
           
"Timeseries,Alias,Database,DataType,Encoding,Compression,Tags,Attributes,Deadband,DeadbandParameters,ViewType,",
           Collections.emptySet());
       TestUtils.assertDataAlwaysOnEnv(
-          receiverEnv, "list user", "User,", Collections.singleton("root,"));
+          receiverEnv,
+          "list user",
+          ColumnHeaderConstant.USER + ",",
+          Collections.singleton("root,"));
     }
   }
 }

Reply via email to