sodonnel opened a new pull request #2668:
URL: https://github.com/apache/ozone/pull/2668


   ## What changes were proposed in this pull request?
   
   In TestDatanodeHddsVolumeFailureToleration, the tests wait for a long time 
on a DN to be marked dead by SCM. This is because the stale, dead and heartbeat 
intervals have not been set low enough, as they are using default. Changing the 
various timers, the runtime is reduced from about 4mins to 53 seconds on my 
laptop.
   
   Further, there are two tests - one that fails one volume on a DN and ensures 
it can restart ok. Then a test which fails 2 volumes and ensure it fails to 
start. We can combine these two tests into 1 and save creating a second 
mini-Cluster. This further reduces the runtime to ??.
   
   On github, this test runs in:
   
   ```
   [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
236.534 s - in 
org.apache.hadoop.ozone.dn.volume.TestDatanodeHddsVolumeFailureToleration
   ```
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-5771
   
   ## How was this patch tested?
   
   Existing tests
   


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