aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks
diff options
context:
space:
mode:
authorKrzysztof Gajewski <krzysztof.gajewski@nokia.com>2021-02-16 09:52:47 +0100
committerKrzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>2021-02-17 07:39:55 +0000
commitf20fae6a47fcb99fef743c5a8c399a9deadf5ff3 (patch)
tree1f5c4be0c6a47bb495bea7cd1a50598ba5065725 /test/mocks
parent37a50cf3629f3cbff1386d441ef683de70445925 (diff)
Add HTTPS to DFC tests
- CSIT tests are reported to be unstable. This fix prevents some error logs which may occur during non https tests Issue-ID: DCAEGEN2-2528 Signed-off-by: Krzysztof Gajewski <krzysztof.gajewski@nokia.com> Change-Id: Ib532e6bca0dbe998dcd54ae15c01366829f31dfd
Diffstat (limited to 'test/mocks')
-rwxr-xr-xtest/mocks/datafilecollector-testharness/simulator-group/simulators-kill.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/mocks/datafilecollector-testharness/simulator-group/simulators-kill.sh b/test/mocks/datafilecollector-testharness/simulator-group/simulators-kill.sh
index 9f0fb2138..4384439c2 100755
--- a/test/mocks/datafilecollector-testharness/simulator-group/simulators-kill.sh
+++ b/test/mocks/datafilecollector-testharness/simulator-group/simulators-kill.sh
@@ -52,7 +52,10 @@ 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
-docker rm -f oom-certservice-post-processor
+if [ "$HTTP_TYPE" = "HTTPS" ]
+ then
+ docker rm -f oom-certservice-post-processor
+fi
docker rm dfc_cbs
docker rm dfc_consul