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

   ## What changes were proposed in this pull request?
   
   Proactively apply a few test-only timing fixes for upgrade related tests to 
prevent them from becoming flaky:
   - `TestScmDataDistributionFinalization`
     - `transferLeadership` does not block the client until the election 
finishes, so `getActiveSCM` could return null the way the test is currently 
written. Wait for the election to finish instead.
     - Increase unnecessarily tight container close timeout
   - `OMUpgradeTestUtils`
     - Don't fail the test on transient IO errors from the status RPC. Retry 
instead. A persistent error will still cause the test to fail with a timeout.
     - Increase finalization wait timeout from 20 seconds to 1 minute to match 
the more lenient timeout already used for [HDDS specific finalization 
tests.](https://github.com/apache/ozone/blob/81fd3c45d01b57d2c2999b7c05f6784b6b339ab1/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/hdds/upgrade/HddsUpgradeTestUtils.java#L51)
   
   ## What is the link to the Apache JIRA
   
   HDDS-16500
   
   ## How was this patch tested?
   
   These are proactive fixes based on observations so there is no failing run 
to compare these with. Tests continue to pass [on my 
fork](https://github.com/errose28/ozone/actions/runs/35258438286) with this 
change (the acceptance test failure is unrelated).
   


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