Fixes webhook test failures#69568
Conversation
The test "Should be able to deny attaching pod" can randomly fail because it never waits for the pod to enter a "Running" state. Because of this, the "kubectl attach" command can potentially fail, if the pod is not in the correct state. Additionally, if the "kubectl attach" actually manages to attach, then the test will hang. The command should be executed with a timeout.
|
/assign @ixdy |
|
/milestone 1.13 |
|
@PatrickLang: You must be a member of the kubernetes/kubernetes-milestone-maintainers github team to set the milestone. 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. |
|
/ok-to-test |
|
/lgtm |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bclau, ixdy 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 Review the full test history for this PR. Silence the bot with an |
3 similar comments
|
/retest Review the full test history for this PR. Silence the bot with an |
|
/retest Review the full test history for this PR. Silence the bot with an |
|
/retest Review the full test history for this PR. Silence the bot with an |
What this PR does / why we need it:
The test "Should be able to deny attaching pod" can randomly fail
because it never waits for the pod to enter a "Running" state. Because
of this, the "kubectl attach" command can potentially fail, if the pod is
not in the correct state.
Additionally, if the "kubectl attach" actually manages to attach, then the
test will hang. The command should be executed with a timeout.
/kind bug
/sig testing
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #69567
Special notes for your reviewer:
Release note: