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: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
