rich7420 opened a new pull request, #11063: URL: https://github.com/apache/ozone/pull/11063
## What changes were proposed in this pull request? The test sets HDDS_NODE_REPORT_INTERVAL to 1s, so the datanode node report can reach SCM between key.close() and the assertion that SCM still shows the pre-write used space, making assertTrue(...getScmUsed().isEqual(baseline)) intermittently fail (expected true but was false). That pre-condition asserts a transient not-yet-propagated state and adds no coverage; the intended behavior (SCM eventually reflects the increased used space) is already verified by the following waitFor and assertTrue(...isGreater(baseline)). Remove the racy assertion. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-16223 ## How was this patch tested? https://github.com/rich7420/ozone/actions/runs/32255956955/ https://github.com/rich7420/ozone/actions/runs/32255725038 -- 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]
