diff options
Diffstat (limited to 'test/mocks/datafilecollector-testharness/simulator-group/simulators-kill.sh')
-rwxr-xr-x | test/mocks/datafilecollector-testharness/simulator-group/simulators-kill.sh | 29 |
1 files changed, 24 insertions, 5 deletions
diff --git a/test/mocks/datafilecollector-testharness/simulator-group/simulators-kill.sh b/test/mocks/datafilecollector-testharness/simulator-group/simulators-kill.sh index 32045ea56..634450b6d 100755 --- a/test/mocks/datafilecollector-testharness/simulator-group/simulators-kill.sh +++ b/test/mocks/datafilecollector-testharness/simulator-group/simulators-kill.sh @@ -1,4 +1,13 @@ #!/bin/bash +# +# Modifications copyright (C) 2021 Nokia. All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# #Script to kill and remove all simulators docker logs dfc_mr-sim @@ -16,8 +25,11 @@ docker kill dfc_ftpes-server-vsftpd1 docker kill dfc_ftpes-server-vsftpd2 docker kill dfc_ftpes-server-vsftpd3 docker kill dfc_ftpes-server-vsftpd4 -docker kill dfc_cbs -docker kill dfc_consul +docker kill dfc_http-https-server0 +docker kill dfc_http-https-server1 +docker kill dfc_http-https-server2 +docker kill dfc_http-https-server3 +docker kill dfc_http-https-server4 echo "Removing simulator containers" docker rm dfc_dr-sim @@ -33,7 +45,14 @@ docker rm dfc_ftpes-server-vsftpd1 docker rm dfc_ftpes-server-vsftpd2 docker rm dfc_ftpes-server-vsftpd3 docker rm dfc_ftpes-server-vsftpd4 -docker rm dfc_cbs -docker rm dfc_consul +docker rm -f dfc_http-https-server0 +docker rm -f dfc_http-https-server1 +docker rm -f dfc_http-https-server2 +docker rm -f dfc_http-https-server3 +docker rm -f dfc_http-https-server4 +if [ "$HTTP_TYPE" = "HTTPS" ] + then + docker rm -f oom-certservice-post-processor +fi -echo "done"
\ No newline at end of file +echo "done" |