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


   ## What changes were proposed in this pull request?
   
   1. Improve `unit.sh` and `integration.sh` to allow running tests multiple 
times after a single compilation.
      * Number of runs is controlled by `ITERATIONS` environment variable 
(defaults to 1).
      * Failed test output from each iteration is saved into a separate 
directory (`iterationN`), but only if repetitions are requested, ie. no change 
for regular, single run.
      * Each run is followed by a one-liner summary, eg.: `Iteration 1 exit 
code: 0`
   2. Reduce duplication by extracting common logic into separate `junit.sh` 
script.
   
   https://issues.apache.org/jira/browse/HDDS-3862
   
   ## How was this patch tested?
   
   Regular CI runs:
   * [unit](https://github.com/adoroszlai/hadoop-ozone/runs/806245518)
   * eg. [integration 
(client)](https://github.com/adoroszlai/hadoop-ozone/runs/806264131)
   
   Repeated tests:
   * 
[TestCloseContainerByPipeline](https://github.com/adoroszlai/hadoop-ozone/runs/806313923),
 failed 5/20
   * 
[TestCSMMetrics](https://github.com/adoroszlai/hadoop-ozone/runs/804181186), 
passed 20/20


----------------------------------------------------------------
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:
us...@infra.apache.org



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

Reply via email to