mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-19 01:40:13 +00:00
go1.14: fix test/cmd timeout message check
This commit is contained in:
parent
becd9f4a2e
commit
a2dd5112c0
@ -39,7 +39,7 @@ run_kubectl_request_timeout_tests() {
|
||||
|
||||
## check --request-timeout on 'get pod' with --watch
|
||||
output_message=$(kubectl get pod valid-pod --request-timeout=1 --watch --v=5 2>&1)
|
||||
kube::test::if_has_string "${output_message}" 'Timeout exceeded while reading body'
|
||||
kube::test::if_has_string "${output_message}" 'Timeout'
|
||||
|
||||
## check --request-timeout value with no time unit
|
||||
output_message=$(kubectl get pod valid-pod --request-timeout=1 2>&1)
|
||||
|
Loading…
Reference in New Issue
Block a user