We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4d32d7e + 573f0d4 commit c6a5e91Copy full SHA for c6a5e91
test/cmd/request-timeout.sh
@@ -39,7 +39,9 @@ run_kubectl_request_timeout_tests() {
39
40
## check --request-timeout on 'get pod' with --watch
41
output_message=$(kubectl get pod valid-pod --request-timeout=1 --watch --v=5 2>&1)
42
- kube::test::if_has_string "${output_message}" 'Timeout'
+ if ! kube::test::if_has_string "${output_message}" 'Timeout'; then
43
+ kube::test::if_has_string "${output_message}" 'context deadline exceeded'
44
+ fi
45
46
## check --request-timeout value with no time unit
47
output_message=$(kubectl get pod valid-pod --request-timeout=1 2>&1)
0 commit comments