diff options
author | 2021-02-16 09:34:13 +0100 | |
---|---|---|
committer | 2021-03-02 07:59:49 +0100 | |
commit | 59bad158d7dd96c157fb9387db2de8ecb9214914 (patch) | |
tree | 66fbb51f482b7b762f27ae55995f6c1413c3222e /plans/dcaegen2-pmmapper/files-processing-config-pmmapper/teardown.sh | |
parent | 5576a927ee2999f6bfa48219941c5c16693a9967 (diff) |
Add CSITs for Pm-mapper files processing performance
Issue-ID: DCAEGEN2-2600
Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com>
Change-Id: Id7e4d345380fd5fd08f28a3ddff04a4fde8f7730
Diffstat (limited to 'plans/dcaegen2-pmmapper/files-processing-config-pmmapper/teardown.sh')
-rw-r--r-- | plans/dcaegen2-pmmapper/files-processing-config-pmmapper/teardown.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/plans/dcaegen2-pmmapper/files-processing-config-pmmapper/teardown.sh b/plans/dcaegen2-pmmapper/files-processing-config-pmmapper/teardown.sh new file mode 100644 index 00000000..ffa2da60 --- /dev/null +++ b/plans/dcaegen2-pmmapper/files-processing-config-pmmapper/teardown.sh @@ -0,0 +1,8 @@ +#!/bin/bash +echo "Starting teardown script" +TEST_PLANS_DIR=$WORKSPACE/plans/dcaegen2-pmmapper/files-processing-config-pmmapper +mkdir -p $WORKSPACE/archives +docker exec pmmapper /bin/sh -c "cat /var/log/ONAP/dcaegen2/services/pm-mapper/pm-mapper_output.log" +kill-instance.sh pmmapper +docker-compose -f $TEST_PLANS_DIR/docker-compose.yml logs > $WORKSPACE/archives/files-processing-config-pmmapper-docker-compose.log +docker-compose -f $TEST_PLANS_DIR/docker-compose.yml down -v |