Merge pull request #2576 from jeanlaurent/harden-test

Make integration test a bit more resilient
This commit is contained in:
Nathan LeClaire
2015-12-14 13:00:40 -08:00

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"* ]]