-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Add E2E tests for HealthCheck #3193
Conversation
21bc140
to
29e8df6
Compare
29e8df6
to
1c442fe
Compare
@diazjf please rebase to pass CI |
317960b
to
950806f
Compare
950806f
to
29668ef
Compare
Adds e2e tests for: - upstream-max-fails - upstream-fail-timeout
29668ef
to
527805f
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aledbf, diazjf The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@diazjf thanks! |
|
||
err = f.WaitForNginxConfiguration( | ||
func(server string) bool { | ||
return Expect(server).Should(ContainSubstring("max_fails=11 fail_timeout=0;")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm confused why would server section has this setting? Is it not about upstream peers?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ElvinEfendi its using the WaitForNginxConfiguration which looks at the whole config rather than just the server. I should have named (server, string) as (conf, string). Either way looks like this is gonna be deprecated :/
Adds e2e tests for: