aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLee Anjella Macabuhay <lee.anjella.macabuhay@est.tech>2024-08-20 11:41:56 +0000
committerGerrit Code Review <gerrit@onap.org>2024-08-20 11:41:56 +0000
commitaf24c7d6ce90e18475eb670c35c54b3e10ad28e4 (patch)
treee3505324bf8008b89d5df29af0147eaecfecf840
parenta336424ecec26fe7812f1b5682a6d9400133ed32 (diff)
parent96676fe9a5fc163be511af2a83018882897c660f (diff)
Merge "[k6] Fix teardown script shutting down all containers"
-rwxr-xr-xk6-tests/teardown.sh10
1 files changed, 2 insertions, 8 deletions
diff --git a/k6-tests/teardown.sh b/k6-tests/teardown.sh
index 45422f9d12..1b4d721a23 100755
--- a/k6-tests/teardown.sh
+++ b/k6-tests/teardown.sh
@@ -18,11 +18,5 @@
echo '================================== docker info =========================='
docker ps -a
-echo 'Stopping, Removing all running containers...'
-docker stop $(docker ps -aq) && docker rm $(docker ps -aq)
-
-echo 'Removing Volumes...'
-docker volume prune -f
-
-echo 'Removing Networks...'
-docker network prune -f
+echo 'Stopping, Removing containers and volumes...'
+docker-compose -f ../docker-compose/docker-compose.yml --profile dmi-stub down --volumes