Fix Sonobuoy test execution completion waiting 42/1042/1
authorJuha Kosonen <juha.kosonen@nokia.com>
Mon, 24 Jun 2019 13:32:35 +0000 (16:32 +0300)
committerJuha Kosonen <juha.kosonen@nokia.com>
Mon, 24 Jun 2019 13:32:35 +0000 (16:32 +0300)
JIRA: VAL-34

Change-Id: I2175553f7a3d42fc3b0f00e75cef9b1c10bc6bf6
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
tests/k8s/conformance/conformance.robot

index 5fa1127..644b1ed 100644 (file)
@@ -36,7 +36,7 @@ Run Sonobuoy Conformance Test
         Append To File          ${LOG}  ${output}${\n}
 
         # Wait until the test finishes execution
-        Run                     until sonobuoy status | grep "Sonobuoy has completed"; do sleep 120; done
+        Run                     while sonobuoy status | grep "Sonobuoy is still running"; do sleep 120; done
         Append To File          ${LOG}  "Sonobuoy has completed"${\n}
 
         # Get the result and store the sonobuoy logs