From 48534b1e303d436b18d789695cfbf8b2bc993b51 Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Wed, 23 Mar 2016 17:22:40 +0000 Subject: [PATCH] unbreak tests Broken in an attempt to help with #2090. --- test/640_proxy_restart_reattaches_test.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/640_proxy_restart_reattaches_test.sh b/test/640_proxy_restart_reattaches_test.sh index 44442b3d..799a9542 100755 --- a/test/640_proxy_restart_reattaches_test.sh +++ b/test/640_proxy_restart_reattaches_test.sh @@ -51,8 +51,7 @@ run_on $HOST1 sudo kill -KILL $(docker_on $HOST1 inspect --format='{{.State.Pid} sleep 1 check_attached -# Restart docker itself, using different commands for systemd- and upstart-managed. -run_on $HOST1 sudo sh -c "command -v systemctl >/dev/null && systemctl restart docker || service docker restart" +run_on $HOST1 "sudo service docker restart" wait_for_proxy $HOST1 sleep 5 # allow for re-tries of attach # Re-fetch the IP since it is not retained on docker restart