aboutsummaryrefslogtreecommitdiffstats
path: root/plans/dcaegen2-pmmapper/pmmapper/setup.sh
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2019-02-15 16:03:08 +0000
committerGerrit Code Review <gerrit@onap.org>2019-02-15 16:03:08 +0000
commit253af8f0ae913a793cce223ce3bab5cacbbe4620 (patch)
treecd8032a423ae642e982503937da0988df99790e8 /plans/dcaegen2-pmmapper/pmmapper/setup.sh
parentec239a34059e888586c640ba0ba528e11e57ed1b (diff)
parent7f7dab08c3bf1155c86823fd9064c866df07fec6 (diff)
Merge "Improvment to Test Case"
Diffstat (limited to 'plans/dcaegen2-pmmapper/pmmapper/setup.sh')
-rw-r--r--plans/dcaegen2-pmmapper/pmmapper/setup.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/plans/dcaegen2-pmmapper/pmmapper/setup.sh b/plans/dcaegen2-pmmapper/pmmapper/setup.sh
index 01e14689..b50d155d 100644
--- a/plans/dcaegen2-pmmapper/pmmapper/setup.sh
+++ b/plans/dcaegen2-pmmapper/pmmapper/setup.sh
@@ -137,7 +137,8 @@ done
PMMAPPER_IP=$(docker inspect '--format={{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' pmmapper)
docker exec datarouter-prov /bin/sh -c "echo '${PMMAPPER_IP}' 3gpppmmapper >> /etc/hosts"
sleep 10
-docker exec pmmapper /bin/sh -c "head -n 5 /var/log/ONAP/dcaegen2/services/pm-mapper/pm-mapper_output.log" >> /tmp/pmmapper.log
+docker exec pmmapper /bin/sh -c "cat /var/log/ONAP/dcaegen2/services/pm-mapper/pm-mapper_output.log" > /tmp/pmmapper.log
+cat /tmp/pmmapper.log
curl -k https://$DR_PROV_IP:8443/internal/prov
#Pass any variables required by Robot test suites in ROBOT_VARIABLES