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 flaky integration test #33604

Merged
merged 1 commit into from
Apr 17, 2024

Conversation

antoniovleonti
Copy link
Contributor

Commit Message: fix flaky integration tests
Additional Description: The ext_authz timeout integration tests were calling waitForExtAuthzRequest when it wasn't necessary. This, combined with a short timeout duration (10ms), led to very rare flakes where the request would timeout before the stream was established or before the grpc message was sent. The request would then get cancelled and waitForExtAuthzRequest would fail.

This PR removes all side stream expectations from the timeout integration tests since they are unnecessary. The HTTP tests weren't not flaky, but out of principle I did the same to them.

Risk Level: none
Testing: test-only PR
Docs Changes: none
Release Notes: none
Platform Specific Features: none
Fixes #33510

[Optional Runtime guard:]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

Signed-off-by: antoniovleonti <leonti@google.com>
@yanavlasov yanavlasov enabled auto-merge (squash) April 17, 2024 14:50
@yanavlasov yanavlasov merged commit 158c9d7 into envoyproxy:main Apr 17, 2024
50 of 51 checks passed
phlax pushed a commit to phlax/envoy that referenced this pull request Apr 17, 2024
Signed-off-by: antoniovleonti <leonti@google.com>
Signed-off-by: Ryan Northey <ryan@synca.io>
phlax pushed a commit that referenced this pull request Apr 17, 2024
Signed-off-by: antoniovleonti <leonti@google.com>
Signed-off-by: Ryan Northey <ryan@synca.io>
cainelli pushed a commit to cainelli/envoy that referenced this pull request Apr 18, 2024
Signed-off-by: antoniovleonti <leonti@google.com>
Signed-off-by: Fernando Cainelli <fernando.cainelli-external@getyourguide.com>
@antoniovleonti antoniovleonti deleted the integration-flake branch April 23, 2024 13:29
alyssawilk pushed a commit to alyssawilk/envoy that referenced this pull request Apr 29, 2024
Signed-off-by: antoniovleonti <leonti@google.com>
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.

ext_authz integration tests are flaky
2 participants