JackieTien97 opened a new pull request, #19180: URL: https://github.com/apache/iotdb/pull/19180
## Description `TierManagerTest` increments an `AtomicInteger` on every access until folder resets finish. These unbounded counters can overflow and fail the final `count > 0` assertion even when all accessors succeed. The [Windows UT failure on #19179](https://github.com/apache/iotdb/actions/runs/42471316195/job/128702482261) occurred at this assertion. Remove the counters and final assertions. The `do-while` loop already executes each accessor at least once, and `Future.get()` propagates accessor assertion failures and exceptions. ## Validation - Spotless formatting and the clean build's style checks passed. - JDK 17 on macOS: `TierManagerTest` passed (1 test, 0 failures, 0 errors, 0 skipped), with all 28 reactor modules successful: ```bash mvn clean test -pl iotdb-core/datanode -am \ -Dtest=TierManagerTest -Dsurefire.failIfNoSpecifiedTests=false \ -Dtest.port.closed=true ``` This PR has: - [x] been self-reviewed. - [x] modified an existing unit test. Key changed class: `TierManagerTest`. -- 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]
