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

tests: Potentially fix flaky TestConfigureNotAttachedHttpListenerOptions #10596

Merged
merged 2 commits into from
Jan 31, 2025

Conversation

davidjumani
Copy link

@davidjumani davidjumani commented Jan 31, 2025

Description

Potentially fixes the TestConfigureNotAttachedHttpListenerOptions flake. It was noticed that the second test generally took longer to run since the inital connections to the proxy would fail. This could be because the proxy does not come up in time or the DNS cache became out of date, and we would curl the old IP

Similar to 5b41985

Code changes

Ensure the gateway is created once rather than every test as it is common across tests

Context

#10594

Testing steps

Verified that both tests in the suite take the same time to execute which does partially (?) validate the solution

BOT NOTES:
resolves #10594

@solo-changelog-bot
Copy link

Issues linked to changelog:
#10594

Copy link

Visit the preview URL for this PR (updated for commit 1de1502):

https://gloo-edge--pr10596-fix-http-listener-fl-7gt3rtlr.web.app

(expires Fri, 07 Feb 2025 17:26:32 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 77c2b86e287749579b7ff9cadb81e099042ef677

@soloio-bulldozer soloio-bulldozer bot merged commit d9665b6 into main Jan 31, 2025
20 checks passed
@soloio-bulldozer soloio-bulldozer bot deleted the fix-http-listener-flake branch January 31, 2025 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TestK8sGateway/HttpListenerOptions/TestConfigureNotAttachedHttpListenerOptions flake
3 participants