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

test: Respect cilium.holdEnvironment on DNS check #14695

Merged
merged 1 commit into from
Jan 26, 2021

Conversation

pchaigno
Copy link
Member

Very simple change, but it has annoyed me often enough during local testing:

The DNS check is one of the first things we check when starting a new
test. As such, the following error is common in CI and local tests.

    Kubernetes DNS did not become ready in time

In local tests however, when -cilium.holdEnvironment=true, the tests
don't pause after such failures. That is because we fail the test with
ginkgo.Fail instead of our wrapper function helpers.Fail. This commit
fixes it.

Signed-off-by: Paul Chaignon <paul@cilium.io>

The DNS check is one of the first things we check when starting a new
test. As such, the following error is common in CI and local tests.

    Kubernetes DNS did not become ready in time

In local tests however, when -cilium.holdEnvironment=true, the tests
don't pause after such failures. That is because we fail the test with
ginkgo.Fail instead of our wrapper function helpers.Fail. This commit
fixes it.

Signed-off-by: Paul Chaignon <paul@cilium.io>
@pchaigno pchaigno added area/CI Continuous Integration testing issue or flake release-note/ci This PR makes changes to the CI. labels Jan 22, 2021
@pchaigno pchaigno requested a review from a team as a code owner January 22, 2021 14:37
@maintainer-s-little-helper maintainer-s-little-helper bot added this to In progress in 1.10.0 Jan 22, 2021
@pchaigno pchaigno requested a review from nebril January 22, 2021 14:37
@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Jan 26, 2021
@nebril nebril merged commit 08a14ad into master Jan 26, 2021
@nebril nebril deleted the pr/pchaigno/respect-holdenvironment-on-dns-check branch January 26, 2021 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/CI Continuous Integration testing issue or flake ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/ci This PR makes changes to the CI.
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants