From de99d4abe57a0a3e98bd5bad30814fa8c9029ea8 Mon Sep 17 00:00:00 2001 From: Jean-Laurent de Morlhon Date: Mon, 14 Dec 2015 18:09:21 +0100 Subject: [PATCH] Make test a bit more resilient Signed-off-by: Jean-Laurent de Morlhon --- test/integration/core/core-commands.bats | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/core/core-commands.bats b/test/integration/core/core-commands.bats index 2362db7f4e..e77809cfb1 100644 --- a/test/integration/core/core-commands.bats +++ b/test/integration/core/core-commands.bats @@ -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"* ]]