summaryrefslogtreecommitdiffstats
path: root/tests/objectstore
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-03-09 14:02:08 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-03-09 14:02:08 +0100
commitcf3cb4d75e2e42bf96a2e6289267d887c2378122 (patch)
treea7301a1999f31c3500322ddbe55e1432cce31682 /tests/objectstore
parenteff17fd3b7021019e387e4f48a38ec450f622649 (diff)
downloadnextcloud-server-cf3cb4d75e2e42bf96a2e6289267d887c2378122.tar.gz
nextcloud-server-cf3cb4d75e2e42bf96a2e6289267d887c2378122.zip
docker containers should be stopped before being removed - refs https://github.com/docker/docker/issues/18758
Diffstat (limited to 'tests/objectstore')
-rwxr-xr-xtests/objectstore/stop-swift-ceph.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/objectstore/stop-swift-ceph.sh b/tests/objectstore/stop-swift-ceph.sh
index 23423e73d6a..afc5f712ab4 100755
--- a/tests/objectstore/stop-swift-ceph.sh
+++ b/tests/objectstore/stop-swift-ceph.sh
@@ -31,6 +31,7 @@ if [ -e $thisFolder/dockerContainerCeph.$EXECUTOR_NUMBER.swift ]; then
fi
echo "Stopping and removing docker container $container"
# kills running container and removes it
+ docker stop $container
docker rm -f $container
done;
fi;