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

fix: propagates test script error code correctly #247

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bartoszmajsak
Copy link

Right now if test script fails at some point it will log error but exit with 0. This is because it will take $? return code from echo which prints the original error code.

This PR keeps actual error code in the variable to avoid this issue.

@bartoszmajsak
Copy link
Author

General question about this script - do you plan to adjust it after the repo split?

bartoszmajsak referenced this pull request in maistra/istio-workspace Sep 22, 2021
The reason is that operator testing harness we rely expects the structure
of the repo prior to the split and will not work yet with the new approach.

I have raised the question in the repo on one of my PRs
https://github.com/redhat-openshift-ecosystem/operator-test-playbooks/pull/247\#issuecomment-923966892
@bartoszmajsak
Copy link
Author

Hello? :)

@lslebodn
Copy link

@J0zi Is upstream directory used from the master branch?
Maybe MR should be created to different branch.
Similar question as in #244

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants