[
https://issues.apache.org/jira/browse/HDDS-5182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai updated HDDS-5182:
-----------------------------------
Description:
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).
{code}
$ export OZONE_TEST_SELECTOR='failing1\|ozone-csi'
$ ./hadoop-ozone/dev-support/checks/acceptance.sh
...
$ echo $?
0
{code}
was:
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).
{code}
$ export 'OZONE_TEST_SELECTOR=failing1\|ozone-csi'
$ ./hadoop-ozone/dev-support/checks/acceptance.sh
...
$ echo $?
0
{code}
> Acceptance test may exit with 0 in case of error
> ------------------------------------------------
>
> Key: HDDS-5182
> URL: https://issues.apache.org/jira/browse/HDDS-5182
> Project: Apache Ozone
> Issue Type: Bug
> Components: test
> Reporter: George Huang
> Assignee: Attila Doroszlai
> Priority: Major
>
> 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).
> {code}
> $ export OZONE_TEST_SELECTOR='failing1\|ozone-csi'
> $ ./hadoop-ozone/dev-support/checks/acceptance.sh
> ...
> $ echo $?
> 0
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]