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 39eb99d4544 [To dev/1.3] [Test] Check receiver data after stopping
pipes (#18941) (#18955)
39eb99d4544 is described below
commit 39eb99d454403875885e126a0cd4ac118b1aef78
Author: Caideyipi <[email protected]>
AuthorDate: Fri Nov 6 09:37:08 2026 +0800
[To dev/1.3] [Test] Check receiver data after stopping pipes (#18941)
(#18955)
* [To dev/1.3] [Test] Check receiver data after stopping pipes (#18941)
Backport the five applicable tree-model lifecycle and protocol assertions,
adapting the test paths to the 1.3 layout. Omit the table-model changes, which
do not apply to this branch.
Restore the consistency helper polling loop using the existing master
behavior. The 1.3 helper previously configured failFast without a terminal
condition and never queried the receiver.
(cherry picked from commit c535723a17a9492dc4479de5af7ab0c02864b509)
* Fix pipe inclusion assertions exposed by continuous polling
---
.../apache/iotdb/pipe/it/manual/IoTDBPipeInclusionIT.java | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git
a/integration-test/src/test/java/org/apache/iotdb/pipe/it/manual/IoTDBPipeInclusionIT.java
b/integration-test/src/test/java/org/apache/iotdb/pipe/it/manual/IoTDBPipeInclusionIT.java
index d00f5edbfd6..d3121302ab2 100644
---
a/integration-test/src/test/java/org/apache/iotdb/pipe/it/manual/IoTDBPipeInclusionIT.java
+++
b/integration-test/src/test/java/org/apache/iotdb/pipe/it/manual/IoTDBPipeInclusionIT.java
@@ -23,6 +23,7 @@ import org.apache.iotdb.common.rpc.thrift.TSStatus;
import org.apache.iotdb.commons.client.sync.SyncConfigNodeIServiceClient;
import org.apache.iotdb.confignode.rpc.thrift.TCreatePipeReq;
import org.apache.iotdb.db.it.utils.TestUtils;
+import org.apache.iotdb.db.queryengine.common.header.ColumnHeaderConstant;
import org.apache.iotdb.it.env.cluster.node.DataNodeWrapper;
import org.apache.iotdb.it.framework.IoTDBTestRunner;
import org.apache.iotdb.itbase.category.MultiClusterIT2ManualCreateSchema;
@@ -287,7 +288,10 @@ public class IoTDBPipeInclusionIT extends
AbstractPipeDualManualIT {
TestUtils.executeNonQuery(senderEnv, "create user `ln_write_user`
'write_pwd'", null);
TestUtils.assertDataAlwaysOnEnv(
- receiverEnv, "list user", "User,", Collections.singleton("root,"));
+ receiverEnv,
+ "list user",
+ ColumnHeaderConstant.USER + ",",
+ Collections.singleton("root,"));
}
}
@@ -333,7 +337,14 @@ public class IoTDBPipeInclusionIT extends
AbstractPipeDualManualIT {
TestUtils.assertDataEventuallyOnEnv(
receiverEnv,
"LIST PRIVILEGES OF USER ln_write_user",
- "Role,Path,Privileges,GrantOption,",
+ ColumnHeaderConstant.ROLE
+ + ","
+ + ColumnHeaderConstant.PATH
+ + ","
+ + ColumnHeaderConstant.PRIVILEGES
+ + ","
+ + ColumnHeaderConstant.GRANT_OPTION
+ + ",",
new HashSet<>(
Arrays.asList(
",root.**,MANAGE_USER,true,",