smengcl opened a new pull request, #11882: URL: https://github.com/apache/ozone/pull/11882
Generated-by: Claude Code (Opus 5.5) ## What changes were proposed in this pull request? `TestReconAsPassiveScm#testDatanodeRegistrationAndReports` asserts that Recon's container list equals SCM's right after creating a container on the datanode. SCM knows the container as soon as it allocates it, but Recon only learns about it from the datanode's container report sent with a heartbeat to Recon. Since HDDS-17314 the datanode heartbeats Recon on its own interval (`hdds.heartbeat.recon.interval`, 1s in `MiniOzoneCluster`), so the heartbeat triggered after the container is created can skip Recon, and the report arrives up to about a second later. This PR waits for Recon's container list to match SCM's instead, the same fix HDDS-17516 applied to `TestReconAndAdminContainerCLI`. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-17612 ## How was this patch tested? - `mvn -pl :ozone-integration-test-recon -am test -Dtest=TestReconAsPassiveScm`: 2 tests passed locally. - 10x10 [flaky-test-check](https://github.com/smengcl/hadoop-ozone/actions/runs/41239304906) on this branch: in progress 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
