diff --git a/test/run-tests.sh b/test/run-tests.sh index 5f7a4774c..6cf3ba9b2 100755 --- a/test/run-tests.sh +++ b/test/run-tests.sh @@ -33,6 +33,7 @@ else echo "Installing enterprise splunk image from ${SPLUNK_ENTERPRISE_IMAGE_GRAVITON}..." make deploy IMAGE_TAG_BASE=docker.io/splunk/splunk-operator IMG=${PRIVATE_SPLUNK_OPERATOR_IMAGE} SPLUNK_ENTERPRISE_IMAGE=${PRIVATE_SPLUNK_ENTERPRISE_IMAGE} WATCH_NAMESPACE="" sleep 30; kubectl describe pod -n splunk-operator + echo "Displaying the value of SPLUNK_ENTERPRISE_IMAGE_GRAVITON" sleep 15; echo ${SPLUNK_ENTERPRISE_IMAGE_GRAVITON} > ~/tmp_aj; cat ~/tmp_aj; fi diff --git a/test/testenv/util.go b/test/testenv/util.go index 5d90be523..a12dbd174 100644 --- a/test/testenv/util.go +++ b/test/testenv/util.go @@ -720,7 +720,7 @@ func newMonitoringConsoleSpecWithGivenSpec(name string, ns string, spec enterpri // DumpGetPods prints and returns list of pods in the namespace func DumpGetPods(ns string) []string { - output, err := exec.Command("kubectl", "get", "pods", "-o", "yaml", "-n", ns).Output() + output, err := exec.Command("kubectl", "get", "pods", "-n", ns).Output() var splunkPods []string if err != nil { //cmd := fmt.Sprintf("kubectl get pods -n %s", ns)