hevinhsu opened a new pull request, #10944:
URL: https://github.com/apache/ozone/pull/10944

   ## What changes were proposed in this pull request?
   
   This pull request addresses the flaky rack-aware placement test reported in 
HDDS-16066 and removes obsolete FindBugs exclusions for the nested tests in 
`TestRackAwarePlacement`.
   
   The rack-aware placement test previously waited only for the container 
replica count to reach three after shutting down a datanode. Since the original 
replica set already contained three replicas, this condition could be satisfied 
before the dead datanode replica was removed and before re-replication 
completed.
   
   The test now waits until:
   
   - At least three replicas are present.
   - The stopped datanode is no longer included in the replica set.
   
   This prevents the test from checking rack placement while the container is 
temporarily under-replicated.
   
   The obsolete `SIC_INNER_SHOULD_BE_STATIC` FindBugs exclusions for the nested 
test classes are also removed. The affected helper methods are made non-static 
to match their usage by the nested test classes.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-16066
   
   ## How was this patch tested?
   https://github.com/hevinhsu/ozone/actions/runs/30880442815


-- 
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]

Reply via email to