diff options
Diffstat (limited to 'plans')
-rw-r--r-- | plans/dcaegen2-collectors-datafile/Functional-suite/teardown.sh | 2 | ||||
-rw-r--r-- | plans/dcaegen2-collectors-datafile/ManagementInterface-suite/teardown.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plans/dcaegen2-collectors-datafile/Functional-suite/teardown.sh b/plans/dcaegen2-collectors-datafile/Functional-suite/teardown.sh index eaebbc24..81d85fe5 100644 --- a/plans/dcaegen2-collectors-datafile/Functional-suite/teardown.sh +++ b/plans/dcaegen2-collectors-datafile/Functional-suite/teardown.sh @@ -2,7 +2,7 @@ running_containers=$(docker ps --filter name=dfc_ -qa) running_images=$(docker images -q) -docker exec -it dfc_app0 cat /var/log/ONAP/application.log >> $WORKSPACE/archives/dfc_app0_application.log +docker exec dfc_app0 cat /var/log/ONAP/application.log >> $WORKSPACE/archives/dfc_app0_application.log docker logs dfc_mr-sim >> $WORKSPACE/archives/dfc_mr-sim.log if [ -z "$running_containers" ] diff --git a/plans/dcaegen2-collectors-datafile/ManagementInterface-suite/teardown.sh b/plans/dcaegen2-collectors-datafile/ManagementInterface-suite/teardown.sh index d8877fbc..23581a02 100644 --- a/plans/dcaegen2-collectors-datafile/ManagementInterface-suite/teardown.sh +++ b/plans/dcaegen2-collectors-datafile/ManagementInterface-suite/teardown.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash set +e -docker exec -it dfc_app0 cat /var/log/ONAP/application.log > $WORKSPACE/archives/dfc_app0_application.log +docker exec dfc_app0 cat /var/log/ONAP/application.log > $WORKSPACE/archives/dfc_app0_application.log kill-instance.sh dfc_app0 set -e exit 0 |