diff options
author | stark, steven <steven.stark@att.com> | 2019-10-10 11:20:54 -0700 |
---|---|---|
committer | stark, steven <steven.stark@att.com> | 2019-10-10 11:20:54 -0700 |
commit | 3d18bf3cba8b1b8d021914d4751ea44f7c3e3cd4 (patch) | |
tree | 1203db1a6452aa4bd7f280c3425e035a1202e088 /instantiate-k8s.sh | |
parent | 1d36d59796cf69d8bba1d833a7faa2709bef531c (diff) |
updating path to listener file for OVP testcase
Issue-ID: VVP-328
Signed-off-by: stark, steven <steven.stark@att.com>
Change-Id: I37d92065d8eb569d2a42e23520f26ac7a573aceb
Diffstat (limited to 'instantiate-k8s.sh')
-rwxr-xr-x | instantiate-k8s.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/instantiate-k8s.sh b/instantiate-k8s.sh index ff730c9..67fd403 100755 --- a/instantiate-k8s.sh +++ b/instantiate-k8s.sh @@ -111,7 +111,7 @@ kubectl --namespace $NAMESPACE cp $FOLDER ${POD}:/tmp/vnfdata.${BUILDNUM} echo "Executing instantiation..." if [ $POLL = 1 ]; then - kubectl --namespace $NAMESPACE exec ${POD} -- bash -c "${ETEHOME}/runTags.sh ${VARIABLEFILES} ${VARIABLES} -d /share/logs/${OUTPUT_FOLDER} ${TAGS} --listener ${ETEHOME}/robot/library/listeners/OVPListener.py --display $DISPLAY_NUM > /tmp/vnf_instantiation.$BUILDNUM.log 2>&1 &" + kubectl --namespace $NAMESPACE exec ${POD} -- bash -c "${ETEHOME}/runTags.sh ${VARIABLEFILES} ${VARIABLES} -d /share/logs/${OUTPUT_FOLDER} ${TAGS} --listener ${ETEHOME}/testsuite/eteutils/robotframework-onap/listeners/OVPListener.py --display $DISPLAY_NUM > /tmp/vnf_instantiation.$BUILDNUM.log 2>&1 &" pid=`kubectl --namespace $NAMESPACE exec ${POD} -- bash -c "pgrep runTags.sh -n"` @@ -123,7 +123,7 @@ if [ $POLL = 1 ]; then kubectl --namespace $NAMESPACE exec ${POD} -- bash -c "while ps -p \"$pid\" --no-headers | grep -v defunct; do echo \$'\n\n'; echo \"Testsuite still running \"\`date\`; echo \"LOG FILE: \"; tail -10 /tmp/vnf_instantiation.$BUILDNUM.log; sleep 30; done" else - kubectl --namespace $NAMESPACE exec ${POD} -- bash -c "${ETEHOME}/runTags.sh ${VARIABLEFILES} ${VARIABLES} -d /share/logs/${OUTPUT_FOLDER} ${TAGS} --listener ${ETEHOME}/robot/library/listeners/OVPListener.py --display $DISPLAY_NUM" + kubectl --namespace $NAMESPACE exec ${POD} -- bash -c "${ETEHOME}/runTags.sh ${VARIABLEFILES} ${VARIABLES} -d /share/logs/${OUTPUT_FOLDER} ${TAGS} --listener ${ETEHOME}/testsuite/eteutils/robotframework-onap/listeners/OVPListener.py --display $DISPLAY_NUM" fi set +x |