You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by "Caideyipi (via GitHub)" <gi...@apache.org> on 2026/10/20 10:02:09 UTC
[PR] [Test] Wait for asynchronous pipe attribute synchronization [iotdb]
Caideyipi opened a new pull request, #18941:
URL: https://github.com/apache/iotdb/pull/18941
## Description
`IoTDBPipeMetaIT.testAttributeSync` uses `assertDataAlwaysOnEnv` immediately after `CREATE PIPE`. Schema snapshot transfer and device attribute cache updates are asynchronous, so the first query can observe inconsistent values across receiver DataNodes (for example, `[1, 1, null]`) and fail before synchronization completes.
Use `assertDataEventuallyOnEnv` to wait for the expected merged device attributes on all queried receiver DataNodes, and document why polling is needed.
## Validation
```bash
MAVEN_OPTS="-Xms128m -Xmx768m" mvn verify -pl integration-test \
-Pwith-integration-tests,MultiClusterIT2DualTableManualEnhanced \
-DskipUTs -Dit.test=IoTDBPipeMetaIT#testAttributeSync \
-DfailIfNoTests=false -Dfailsafe.failIfNoSpecifiedTests=false \
-DClusterConfigurations=HighPerformanceMode,HighPerformanceMode \
-DintegrationTest.clusterReadyRetryCount=90 -DConfigNodeMaxHeapSize=256 \
-DDataNodeMaxHeapSize=512 -DDataNodeMaxDirectMemorySize=384 \
-Ddevelocity.off=true -ntp
```
JDK 17; two clusters, each with 1 ConfigNode and 3 DataNodes. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0. Full Maven verification succeeded, including Spotless, Checkstyle, and license checks.
- [x] Self-reviewed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Test] Fix asynchronous assertions in pipe integration tests [iotdb]
Posted by "jt2594838 (via GitHub)" <gi...@apache.org>.
jt2594838 merged PR #18941:
URL: https://github.com/apache/iotdb/pull/18941
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org