You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2021/03/11 08:42:19 UTC

[GitHub] [ozone] adoroszlai commented on pull request #2025: HDDS-4957. Fix flaky test TestSCMInstallSnapshotWithHA#testInstallCorruptedCheckpointFailure

adoroszlai commented on pull request #2025:
URL: https://github.com/apache/ozone/pull/2025#issuecomment-796569400


   FYI, it is possible to repeat a single test several times, see @elek's guide at https://cwiki.apache.org/confluence/display/HADOOP/Github+Actions+tips+and+tricks
   
   Additionally, with JUnit 5 it's as simple as changing `@Test` to `@RepeatedTest(10)` (adjust repetitions as needed) for the flaky test case.  Fork timeout also needs to be increased.
   
   Ran the test 2x10 times without issues:
   
   https://github.com/adoroszlai/hadoop-ozone/runs/2080365955#step:4:3826
   https://github.com/adoroszlai/hadoop-ozone/runs/2080365955#step:4:3931
   
   Here's my change for reference:
   https://github.com/adoroszlai/hadoop-ozone/commit/73bea4db8bf4826f7f31eb24d1951e853197ae22


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org