From 8c8e33347a7ddbf7320659038bdb2257836e745b Mon Sep 17 00:00:00 2001
From: pierreozoux <pierre@ozoux.net>
Date: Thu, 15 Jan 2015 19:42:06 +0100
Subject: [PATCH] Fixes timing tests

---
 tests/test.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/test.sh b/tests/test.sh
index a2bb0fe..d577dd3 100755
--- a/tests/test.sh
+++ b/tests/test.sh
@@ -35,11 +35,12 @@ esac
 if [ "$image" == "static" ]; then
   systemctl start $image@$image.test
   systemctl enable $image@$image.test
+  sleep 20
 else
   systemctl start lamp@$image.test
   systemctl enable lamp@$image.test
+  sleep 60
 fi
-sleep 20
 
 systemctl list-units | grep "$image\.test" | grep -c failed | grep 0
 ip=`docker inspect --format {{.NetworkSettings.IPAddress}} $image.test`
-- 
GitLab