Do not run "docker kill" inside smoke tests, because Docker 1.13.1

Otherwise test suites hang if run with Docker 1.13.1.

See: https://github.com/docker/docker/issues/31447
This commit is contained in:
Martynas Pumputis authored and Bryan Boreham committed 2017-04-12 13:05:39 +00:00
1 parent eb5435d275
commit 2ba8764615
2 files changed
+10 -3

No files matched your search

+4 -1
View File
@@ -14,7 +14,10 @@ weave_on $HOST3 launch $HOST1
weave_on $HOST3 prime
# nuke 1st peer
docker_on $HOST1 kill weave
# NOTE: docker-kill hangs (https://github.com/docker/docker/issues/31447), so we
# kill directly the weaver process instead.
WEAVER_PID=$(container_pid $HOST1 weave)
run_on $HOST1 "sudo kill -9 $WEAVER_PID"
# transfer its space to the 2nd
weave_on $HOST2 rmpeer $PEER1