From: valentin.radulescu Date: Fri, 1 Nov 2019 15:14:26 +0000 (-0700) Subject: Use a more generic kubectl command to check status X-Git-Tag: 2.0.0~8^2 X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F99%2F1899%2F3;p=validation.git Use a more generic kubectl command to check status VAL-73: Use "kubectl version" instead of "kubectl get pods --all-namespaces" to check status. Signed-off-by: valentin.radulescu Change-Id: Ie7549f9af0060aa7e13e363f0a3b289e290a0bdf --- diff --git a/tests/k8s/conformance/conformance.robot b/tests/k8s/conformance/conformance.robot index 2c9d3ee..dbf66be 100644 --- a/tests/k8s/conformance/conformance.robot +++ b/tests/k8s/conformance/conformance.robot @@ -78,9 +78,9 @@ Check that k8s cluster is reachable # Make sure the pod is reachable with the local k8s client ${rc} ${output}= Run And Return Rc And Output - ... kubectl get pods --all-namespaces + ... kubectl version Append To File ${LOG} ${output}${\n} - Should Contain ${output} kube-system + Should Contain ${output} Server Version: version.Info Cleanup Sonobuoy ${rc} ${output}= Run And Return Rc And Output