Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] databricks script failed to return correct exit code #3016

Closed
pxLi opened this issue Jul 24, 2021 · 0 comments · Fixed by #3018
Closed

[BUG] databricks script failed to return correct exit code #3016

pxLi opened this issue Jul 24, 2021 · 0 comments · Fixed by #3018
Labels
bug Something isn't working test Only impacts tests

Comments

@pxLi
Copy link
Collaborator

pxLi commented Jul 24, 2021

I accidentally found db test nightly failures (#3017) was not reported correctly. This was introduced by #2880,
where
if [ echo ${PIPESTATUS[0]} -ne 0 ];
should be
if [ ${PIPESTATUS[0]} -ne 0 ]; or if [ `echo ${PIPESTATUS[0]}` -ne 0 ];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working test Only impacts tests
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant