summaryrefslogtreecommitdiffstats
path: root/run_tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'run_tests.sh')
-rwxr-xr-xrun_tests.sh14
1 files changed, 13 insertions, 1 deletions
diff --git a/run_tests.sh b/run_tests.sh
index f6744bf1..97cbf28c 100755
--- a/run_tests.sh
+++ b/run_tests.sh
@@ -136,6 +136,15 @@ if [ "${testcase}" != "" ]; then
done
fi
+#clean up correlated docker images
+bash ${BASEDIR}/docker/docker_cleanup.sh -d bottlenecks --debug
+bash ${BASEDIR}/docker/docker_cleanup.sh -d yardstick --debug
+bash ${BASEDIR}/docker/docker_cleanup.sh -d kibana --debug
+bash ${BASEDIR}/docker/docker_cleanup.sh -d elasticsearch --debug
+bash ${BASEDIR}/docker/docker_cleanup.sh -d influxdb --debug
+
+exit 0
+
#run tests
if [ "${teststory}" != "" ]; then
test_level="teststory"
@@ -151,4 +160,7 @@ if [ "${testcase}" != "" ]; then
info "Start to run test case $i"
run_test $i
done
-fi \ No newline at end of file
+fi
+
+# echo "Bottlenecks: cleaning up docker-compose images and dockers"
+# docker-compose -f $BASEDIR/docker/bottleneck-compose/docker-compose.yml down --rmi all \ No newline at end of file