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 dual-stack integration test #12946

Merged
merged 1 commit into from
Aug 22, 2024
Merged

Fix dual-stack integration test #12946

merged 1 commit into from
Aug 22, 2024

Conversation

alpeb
Copy link
Member

@alpeb alpeb commented Aug 7, 2024

The test was sporadically failing with

=== RUN   TestDualStack/Hit_IPv4_addr_directly
    dualstack_test.go:129: expected 'IPv4', received ''
--- FAIL: TestDualStack (18.09s)

The problem was the ipfamilies-server pod was taking longer to become ready than the client pod, and so the request was failing. I added a readiness probe to the server manifest so checkPods() blocks until all is ready.

The test was sporadically failing with
```
=== RUN   TestDualStack/Hit_IPv4_addr_directly
    dualstack_test.go:129: expected 'IPv4', received ''
--- FAIL: TestDualStack (18.09s)
```
The problem was the ipfamilies-server pod was taking longer to become ready
than the client pod, and so the request was failing. I added a readiness
probe to the server manifest so `checkPods()` blocks until all is ready.
@alpeb alpeb requested a review from a team as a code owner August 7, 2024 17:11
@adleong adleong merged commit b102636 into main Aug 22, 2024
20 checks passed
@adleong adleong deleted the alpeb/dualstack-test-fixup branch August 22, 2024 17:21
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.

3 participants