Make test a bit more resilient

Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
This commit is contained in:
Jean-Laurent de Morlhon
2015-12-14 18:09:21 +01:00
parent 4d39a66899
commit de99d4abe5
+2 -2
View File
@@ -116,7 +116,7 @@ use_shared_machine
}
@test "$DRIVER: machine should show running after start" {
run machine ls
run machine ls --timeout 20
echo ${output}
[ "$status" -eq 0 ]
[[ ${lines[1]} == *"Running"* ]]
@@ -142,7 +142,7 @@ use_shared_machine
}
@test "$DRIVER: machine should show running after restart" {
run machine ls
run machine ls --timeout 20
echo ${output}
[ "$status" -eq 0 ]
[[ ${lines[1]} == *"Running"* ]]