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

xds interop: Fix buildscripts not continuing on a failed test suite (v1.48.x backport) #5942

Conversation

sergiitk
Copy link
Member

Backport of #5937 to v1.48.x.

Apparently there's a difference between bash 3 and bash 4. OSX comes with bash 3 out-of-box, so for whoever wrote this logic it "worked on my machine".

The (( construct returns a 0 exit code if the value is non-zero. Since the value starts at 0 and we do a post-increment, it will always fail the first time. Changing it to a pre-increment fixes the problem.

RELEASE NOTES: n/a

@easwars easwars added this to the 1.53 Release milestone Jan 18, 2023
@easwars easwars merged commit b659ffa into grpc:v1.48.x Jan 18, 2023
@sergiitk sergiitk deleted the backport-1.48-xds-interop-fix-buildscript-suites branch January 18, 2023 01:35
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants