From: Varma, Vikas (vv8305) Date: Thu, 23 Aug 2018 19:14:46 +0000 (-0400) Subject: Enable logs when functest simulator is run X-Git-Tag: 1.2.1~8 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=44795f01bc3c53875a759dd6043d25b237362fad;p=optf%2Fosdf.git Enable logs when functest simulator is run Issue-ID: OPTFRA-321 Change-Id: I74c80c6b406cf25ba1802314a2872fe47b11b60e Signed-off-by: Varma, Vikas (vv8305) --- diff --git a/test/functest/scripts/start-simulators.sh b/test/functest/scripts/start-simulators.sh index 75209f6..b8b5719 100755 --- a/test/functest/scripts/start-simulators.sh +++ b/test/functest/scripts/start-simulators.sh @@ -40,8 +40,9 @@ SIMULATORS_DIR=$FUNC_TEST_DIR/simulators ln -s $SIMULATORS_DIR/simulated-config config XPID=$(ps -x | grep "python oof_dependencies_simulators.py" | grep -v grep | awk '{print $1}') + echo "simulator pid " $XPID if [ -z "$XPID" ]; then - python oof_dependencies_simulators.py > simulator-logs 2>&1 & + python oof_dependencies_simulators.py & # > simulator-logs 2>&1 & sleep 20 fi )