adoroszlai opened a new pull request, #5457: URL: https://github.com/apache/ozone/pull/5457
## What changes were proposed in this pull request? `@Flaky` tag only applies to JUnit5 tests. This change implements a similar feature for JUnit4 tests. Now JUnit4 tests can be annotated with `@Category(FlakyTest.class)` to execute them in _integration (flaky)_ (with few repetitions if necessary) instead of their regular _integration_ split. Also mark `TestStorageContainerManager#testContainerReportQueueTakingMoreTime` as flaky (see HDDS-8470). https://issues.apache.org/jira/browse/HDDS-9466 ## How was this patch tested? Test marked as `@Category(FlakyTest.class)` was executed in _integration (flaky)_: ``` [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.737 s - in org.apache.hadoop.ozone.scm.TestStorageContainerManager ``` https://github.com/adoroszlai/hadoop-ozone/actions/runs/6544313982/job/17771626430#step:6:3824 Other tests in same class were executed in _integration (scm)_: ``` [INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 236.343 s - in org.apache.hadoop.ozone.scm.TestStorageContainerManager ``` https://github.com/adoroszlai/hadoop-ozone/actions/runs/6544313982/job/17771625577#step:5:3848 -- 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]
