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 wait_for_pong in integration tests #38

Merged
merged 1 commit into from
Nov 19, 2024
Merged

Conversation

markgoddard
Copy link
Contributor

wait_for_pong needs to return 1 when retries are exhausted in order to
signal failure.

The kubectl wait exit code was being ignored because wait_for_pong is
called as an if conditional. Pull it out of wait_for_pong. Some context
on the issue:
https://stratus3d.com/blog/2019/11/29/bash-errexit-inconsistency/

wait_for_pong needs to return 1 when retries are exhausted in order to
signal failure.

The kubectl wait exit code was being ignored because wait_for_pong is
called as an if conditional. Pull it out of wait_for_pong. Some context
on the issue:
https://stratus3d.com/blog/2019/11/29/bash-errexit-inconsistency/
@markgoddard markgoddard self-assigned this Nov 18, 2024
@markgoddard markgoddard merged commit 12e1058 into main Nov 19, 2024
5 checks passed
@markgoddard markgoddard deleted the fix-wait-for-pong branch November 19, 2024 10:36
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