Skip to content

Fix integration tests for ingress-nginx #265

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

Merged
merged 2 commits into from
Mar 7, 2025
Merged

Conversation

nihussmann
Copy link
Contributor

@nihussmann nihussmann commented Mar 5, 2025

Fixed two race condition issues:

  • The integration test's start condition only checked for the presence of pods, while the test itself validated the Service. However, at that point, the Service was still in the process of being created.

  • We waited for the node to return its name but did not wait for it to retrieve its IP. This occasionally caused flaky tests due to an empty IP value.

@nihussmann nihussmann force-pushed the bug/nginx-integrationtest branch from 65b33a6 to bc5bacc Compare March 6, 2025 11:07
@schnatterer schnatterer changed the title bug: fixing integrationtests for nginx Fix integration tests for ingress-nginx Mar 6, 2025
@cloudogu cloudogu deleted a comment from schnatterer Mar 6, 2025
@nihussmann nihussmann force-pushed the bug/nginx-integrationtest branch 3 times, most recently from 458226f to 547699f Compare March 7, 2025 09:21
Co-authored-by: Johannes Schnatterer <johannes.schnatterer@cloudogu.com>
@schnatterer schnatterer force-pushed the bug/nginx-integrationtest branch from 547699f to f473ec3 Compare March 7, 2025 09:43
@schnatterer schnatterer merged commit 883c6b9 into main Mar 7, 2025
1 check passed
@schnatterer schnatterer deleted the bug/nginx-integrationtest branch March 7, 2025 11:20
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