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

Refactors TCPRoute e2e tests #10418

Merged
merged 1 commit into from
Dec 2, 2024
Merged

Refactors TCPRoute e2e tests #10418

merged 1 commit into from
Dec 2, 2024

Conversation

danehans
Copy link

@danehans danehans commented Nov 27, 2024

Refactors TCPRoute e2e tests to run in parallel, reduce flakes, and parameterize tests for reusability.

  • Separates manifests/resources on a per-test basis.
  • Uses namespaces for test isolation and to support parallelizing test runs.
  • Bumps the timeout for EventuallyObjectsNotExist to 60 seconds since deleting a namespace can take longer than then previous time (20 seconds).
  • Uses Eventually assertions to reduce flakes due to eventual consistency.
  • Combines test methods into a single parameterized test method.
  • Implements helper functions to reduce code repeatition.

Fixes #10414
BOT NOTES:
resolves #10414

@solo-changelog-bot
Copy link

Issues linked to changelog:
#10414

Copy link

github-actions bot commented Nov 27, 2024

Visit the preview URL for this PR (updated for commit 8b52691):

https://gloo-edge--pr10418-issue-10414-iczepusq.web.app

(expires Thu, 05 Dec 2024 04:44:36 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 77c2b86e287749579b7ff9cadb81e099042ef677

Signed-off-by: Daneyon Hansen <[email protected]>
version: v1
spec:
containers:
- image: gcr.io/k8s-staging-gateway-api/echo-basic:v20231214-v1.0.0-140-gf544a46e
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: if we can link to upstream so that we stay in lock step that would be cool.

That being said this is an echo server that seems fairly stable as it goes all the way to ingress api and likely doesnt need much changing.

@soloio-bulldozer soloio-bulldozer bot merged commit 951dfcb into main Dec 2, 2024
19 checks passed
@soloio-bulldozer soloio-bulldozer bot deleted the issue_10414 branch December 2, 2024 14:01
kevin-shelaga pushed a commit that referenced this pull request Dec 13, 2024
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.

Enable TestConfigureTCPRouteBackingDestinationsWithMultiServices e2e
3 participants