Make test a bit more resilient
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
This commit is contained in:
@@ -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"* ]]
|
||||
|
||||
Reference in New Issue
Block a user