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

   ## What changes were proposed in this pull request?
   
   After restarting the datanode, the test always waits 10 seconds before 
checking
   whether the pipeline is closed.
   
   Replace the fixed sleep with polling every 100 ms for up to 10 seconds. The 
test
   can continue as soon as the pipeline is closed or removed, while keeping the
   same maximum wait.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-XXXXX
   
   ## How was this patch tested?
   
   Ran 10 times before and after the change. Average test time decreased by 
24.7%.
   
   |         | Average | Median  | Range          |
   |---------|---------|---------|----------------|
   | Before  | 33.72 s | 33.54 s | 33.06–35.70 s |
   | After   | 25.38 s | 25.30 s | 24.19–26.47 s |
   
   <details>
   <summary>Individual runs</summary>
   
   ```text
   Before: 33.25, 33.33, 35.70, 33.75, 34.03, 33.06, 33.54, 33.54, 33.55, 33.44
   After:  25.27, 25.71, 24.38, 24.19, 25.22, 26.47, 25.34, 25.21, 25.93, 26.03
   
   CI: 
   
   Flaky-test-check:


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