adoroszlai opened a new pull request #3148:
URL: https://github.com/apache/ozone/pull/3148


   ## What changes were proposed in this pull request?
   
   1. Create two special categories of integration tests using JUnit5 tags:
   
    * `@Flaky`: these are run in CI but failures are informational only
    * `@Slow`: these are no longer run as part of CI
   
   Tests can be tagged at class or method level.
   
   Tagged tests still can be run locally as they are not `@Disabled`, nor put 
on `@Ignore`.  We can even create a scheduled job for running them periodically 
(e.g. once per day).  They are skipped in regular CI using Maven profiles.
   
   Caveat: only JUnit5 tests are eligible.  JUnit4 tests need to be converted 
if we want to tag, which this change does for some tests.  
`Test*Ozone*Filesystem*` needs [more 
work](https://issues.apache.org/jira/browse/HDDS-6152) before we can convert it 
to JUnit5.
   
   2. Change most existing `@Ignore` annotations to one of these two new tags.
   
   https://issues.apache.org/jira/browse/HDDS-6095
   
   ## How was this patch tested?
   
   CI:
   https://github.com/adoroszlai/hadoop-ozone/runs/5373197323#step:5:7


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