Merge pull request #2095 from vieux/fix_cleanup_test_master

fix restart docker in tests
This commit is contained in:
Alexandre Beslic 2016-04-07 17:28:40 -07:00
commit 42fc136b39
1 changed files with 2 additions and 0 deletions

View File

@ -207,6 +207,8 @@ function start_docker() {
${DOCKER_IMAGE}:${DOCKER_VERSION} \
bash -c "\
rm /var/run/docker.pid ; \
rm /var/run/docker/libcontainerd/docker-containerd.pid ; \
rm /var/run/docker/libcontainerd/docker-containerd.sock ; \
hostname node-$i && \
docker daemon -H 127.0.0.1:$port \
-H=unix:///var/run/docker.sock \