Caideyipi opened a new pull request, #19315: URL: https://github.com/apache/iotdb/pull/19315
## Summary - Make sink shutdown assertions deterministic by waiting for connector close to enter its blocked state before checking bounded external-sink return and built-in-sink waiting behavior. - Retry table-model pipe leader-stop replication only for recognized transient RPC failures, including nested causes and chained SQL exceptions; fail fast on Awaitility timeouts and unrelated failures. - Wait for granted table access to become visible before authorization assertions, retrying only the expected `NO_PERMISSION` response for the target database. - Flush the verified receiver baseline before the tree-model lifecycle test restarts the receiver. ## Example After `GRANT SELECT` to a user, `USE test2` can briefly return `NO_PERMISSION` while authorization propagates. The test now retries only that expected response for up to 30 seconds; other errors fail immediately, and later statements continue to check the user’s actual permissions. ## Validation - Local task-workspace results: `PipeSinkSubtaskTest` 11/11; Pipe dual-cluster IT 1/1; pipe lifecycle IT 1/1; `TableSimpleIT` and `TableClusterIT` 4/4 each. - Spotless and diff checks passed. - These tests were run in the task workspace before the isolated master-based candidate was prepared; remote CI has not run. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
