test: skip tests that won't work behind a proxy automatically#26398
test: skip tests that won't work behind a proxy automatically#26398openshift-merge-robot merged 1 commit intoopenshift:masterfrom
Conversation
a94af2a to
6916835
Compare
|
I'd like to get the proxy job clean more than I'd like every test available /lgtm |
|
/hold I just want to check one thing before this lands |
The vast majority of the tests we run work and run fine through an HTTP proxy to reach the target cluster under test, however a handful of tests don't work. This adds a configuration to openshift-tests to see if given the current proxy environment, we would use a proxy to reach the API server. If so, then we skip tests annotated with `[Skip:Proxy]`.
| url, _, err := rest.DefaultServerURL(clientConfig.Host, clientConfig.APIPath, schema.GroupVersion{}, false) | ||
| if err != nil { | ||
| return nil, err | ||
| } | ||
| state.APIURL = url |
There was a problem hiding this comment.
@deads2k Needs a lgtm again. I had this logic reversed and it was causing a panic 🤦
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: deads2k, stbenjam 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 |
|
/refresh |
|
The DNM labels seem to be stuck, any chance you can remove them @deads2k? |
|
/hold |
|
/hold cancel |
|
/retest |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
@stbenjam: The following test failed, say
Full PR test history. Your PR dashboard. 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. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/cherry-pick release-4.9 |
|
@mandre: new pull request created: #26664 DetailsIn response to this:
Instructions 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. |
|
/cherry-pick release-4.8 |
|
@andfasano: #26398 failed to apply on top of branch "release-4.8": DetailsIn response to this:
Instructions 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. |
The vast majority of the tests we run work and run fine through
an HTTP proxy to reach the target cluster under test, however a
handful of tests don't work. This adds a configuration to
openshift-tests to see if given the current proxy environment, we
would use a proxy to reach the API server. If so, then we skip
tests annotated with
[Skip:Proxy].