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:
1 parent
eb5435d275
commit
2ba8764615
2 files changed
+10
-3
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user