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


   ## What changes were proposed in this pull request?
   
   If any acceptance test fails, `test-all.sh` (and in turn `acceptance.sh`) 
should exit with error code (1).  But if a successful test is run after a 
failing one, it will now wrongly exit with success (0).
   
   ```
   $ export OZONE_TEST_SELECTOR='failing1\|ozone-csi'
   $ ./hadoop-ozone/dev-support/checks/acceptance.sh
   ...
   $ echo $?
   0
   ```
   
   The problem is that the variable `ret` in the functions `run_test_scripts` 
and `run_test_script` are intended to be independent, but are the same (global) 
one.
   
   https://issues.apache.org/jira/browse/HDDS-5182
   
   ## How was this patch tested?
   
   ```
   $ export OZONE_TEST_SELECTOR='failing1\|ozone-csi'
   $ ./hadoop-ozone/dev-support/checks/acceptance.sh
   ...
   $ echo $?
   1
   ```


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

Reply via email to