Merge "Use a more generic kubectl command to check status"
authorNaga Sugguna <ns156u@att.com>
Tue, 5 Nov 2019 20:17:46 +0000 (20:17 +0000)
committerGerrit Code Review <gerrit@akraino.org>
Tue, 5 Nov 2019 20:17:46 +0000 (20:17 +0000)
tests/k8s/conformance/conformance.robot

index 2c9d3ee..dbf66be 100644 (file)
@@ -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