From dd74fc27e3f1db279ce52ab55eef087796429442 Mon Sep 17 00:00:00 2001
From: pierreozoux <pierre@ozoux.net>
Date: Wed, 18 Feb 2015 13:52:24 +0000
Subject: [PATCH] Tests through HAproxy

---
 tests/finish.sh | 1 +
 tests/test.sh   | 3 +--
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/finish.sh b/tests/finish.sh
index 70f779f..ac82e1b 100755
--- a/tests/finish.sh
+++ b/tests/finish.sh
@@ -6,5 +6,6 @@ applications=( static wordpress known )
 
 for application in "${applications[@]}"
 do
+  curl -Lk $application.test
   /data/indiehosters/tests/clean.sh $application
 done
diff --git a/tests/test.sh b/tests/test.sh
index c975d96..4fbbff5 100755
--- a/tests/test.sh
+++ b/tests/test.sh
@@ -18,6 +18,5 @@ else
 fi
 
 systemctl list-units | grep "$image\.test" | grep -c failed | grep 0
-ip=`docker inspect --format {{.NetworkSettings.IPAddress}} $image.test`
-curl -L $ip
+curl -L $image.test
 
-- 
GitLab