Skip to content

examples: Improve waits/fix flakes#22126

Merged
KBaichoo merged 3 commits intoenvoyproxy:mainfrom
phlax:verify-dynamics
Jul 14, 2022
Merged

examples: Improve waits/fix flakes#22126
KBaichoo merged 3 commits intoenvoyproxy:mainfrom
phlax:verify-dynamics

Conversation

@phlax
Copy link
Copy Markdown
Member

@phlax phlax commented Jul 12, 2022

Fix #22113

Signed-off-by: Ryan Northey ryan@synca.io

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

@phlax phlax added this to the 1.23.0 milestone Jul 12, 2022
@phlax phlax force-pushed the verify-dynamics branch from 6219129 to e8911c7 Compare July 12, 2022 14:46
Comment thread examples/ext_authz/verify.sh Outdated
Fix envoyproxy#22113

Signed-off-by: Ryan Northey <ryan@synca.io>
Comment thread examples/verify-common.sh Outdated
wait_for 30 bash -c "\
responds_with \
'<!doctype html>' \
http://localhost:${PORT_ADMIN}/zipkin/"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be missing context, why are we querying it twice with same query? Here and a few other places

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the most reliable way of checking that the test is ready to be run is just waiting for the test to pass

ditto elsewhere

despite trying i didnt find a way to make this wait for docker correctly - i guess i could just move these to healthchecks on the compositions

my pref is to land and iterate because these make ci less flakey and faster

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

iteration sgtm.

@KBaichoo KBaichoo self-assigned this Jul 14, 2022
Signed-off-by: Ryan Northey <ryan@synca.io>
Copy link
Copy Markdown
Contributor

@KBaichoo KBaichoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

wait_for 30 bash -c "\
responds_with \
'<!doctype html>' \
http://localhost:${PORT_ADMIN}/zipkin/"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

iteration sgtm.

@KBaichoo KBaichoo enabled auto-merge (squash) July 14, 2022 14:49
Signed-off-by: Ryan Northey <ryan@synca.io>
@KBaichoo KBaichoo merged commit c0e8191 into envoyproxy:main Jul 14, 2022
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.

Dynamic config examples can be flaky

2 participants