Add default wildcard routing e2e test#21617
Add default wildcard routing e2e test#21617openshift-merge-robot merged 1 commit intoopenshift:masterfrom
Conversation
|
/hold |
|
/cc @openshift/sig-network-edge |
|
/retest |
test/extended/router/wildcard.go
Outdated
| cmd := fmt.Sprintf(` | ||
| set -e | ||
| for i in $(seq 1 %d); do | ||
| code=$( curl -k -s -o /dev/null -w '%%{http_code}\n' %q ) || rc=$? |
There was a problem hiding this comment.
I'd suggest adding -m 1 to the curl command to time out after 1 second. If you want a higher timeout value, or if you want to observe timeoutSeconds more strictly, you could add if [[ $SECONDS -gt %d ]]; then echo timed out; exit 1; fi to the loop.
c9b7bda to
cf98f0a
Compare
cf98f0a to
315fff1
Compare
|
Okay, finally getting back to this, I made the test only execute if we detect that the default router is fronted by a LoadBalancer service. I'm not sure that's the best way to do detection going forward, but I think it works for now and we desperately need this coverage. |
315fff1 to
cb67344
Compare
|
/hold cancel |
|
/retest |
1 similar comment
|
/retest |
|
This should be skipping on GCE so something’s wrong either in my skip detection or in the operator |
|
/retest |
2 similar comments
|
/retest |
|
/retest |
|
So close! /retest |
|
/retest |
1 similar comment
|
/retest |
|
/test e2e-aws |
Add a test which exercises: * Wildcard DNS management * Route host defaulting * Default wildcard certificates By: * Creating a reencrypt route using only defaults * Asserting the route is accessible over its public hostname This test should only execute when wildcard DNS management is enabled as indicated by the presence of an ingress domain on the cluster config resource.
cb67344 to
2467250
Compare
|
/retest |
1 similar comment
|
/retest |
|
@smarterclayton had to rebase, please re-tag |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ironcladlou, knobunc, smarterclayton 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 |
|
/retest |
1 similar comment
|
/retest |
|
/test e2e-aws-builds |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/test e2e-aws-builds |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest |
1 similar comment
|
/retest |
|
Well, tests passed and instead of merging tests kicked off again for some reason. /retest |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
@ironcladlou: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. I understand the commands that are listed here. |
|
/test e2e-aws-builds |
|
What a ride! |
Add a test which exercises:
By:
This test should only execute when wildcard DNS management is enabled as
indicated by the presence of an ingress domain on the cluster config resource.