Make frontend resource deletion test verify that ingress VIP is unchanged #995
Make frontend resource deletion test verify that ingress VIP is unchanged #995k8s-ci-robot merged 1 commit intokubernetes:masterfrom
Conversation
|
Hi @skmatti. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/assign @freehan |
| t.Fatalf("Update(%s) = %v, want nil; ingress: %v", ingKey, err, ing) | ||
| } | ||
| t.Logf("Ingress updated (%s)", ingKey) | ||
| if ing, err = e2e.WaitForIngress(s, ing, &e2e.WaitForIngressOptions{ExpectUnreachable: true}); err != nil { |
There was a problem hiding this comment.
I am wondering if this would be waiting for LB config to be reconfigured. I think it would not. It will pass immediately after ingress is updated. Can you confirm?
There was a problem hiding this comment.
It may just work fine in this case. WaitForIngress validates both http and https paths.
ingress-gce/pkg/fuzz/validator.go
Lines 120 to 126 in 7ac5f47
Here, I am enabling both http and https back again. So, it should wait for both checks to be validated.
| t.Fatalf("Update(%s) = %v, want nil; ingress: %v", ingKey, err, ing) | ||
| } | ||
| t.Logf("Ingress updated (%s)", ingKey) | ||
| if ing, err = e2e.WaitForIngress(s, ing, &e2e.WaitForIngressOptions{ExpectUnreachable: true}); err != nil { |
|
/ok-to-test |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: freehan, skmatti The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Extends existing e2e test to cover bug: #993