From 607858fe0707102decd3d388cadf50ef64219b36 Mon Sep 17 00:00:00 2001 From: "valentin.radulescu" Date: Fri, 1 Nov 2019 08:14:26 -0700 Subject: [PATCH] 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 --- tests/k8s/conformance/conformance.robot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.16.6