From: waynedunican Date: Wed, 6 Nov 2024 11:07:56 +0000 (+0000) Subject: Fix directory naming for s3p test automation X-Git-Tag: 4.0.1~2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F36%2F139336%2F1;p=policy%2Fdocker.git Fix directory naming for s3p test automation Issue-ID: POLICY-5148 Change-Id: I837d3ce8269d9f851536cbfffb9298bbd03afbcb Signed-off-by: waynedunican --- diff --git a/csit/start-s3p-tests.sh b/csit/start-s3p-tests.sh index 2e397eb5..41974601 100755 --- a/csit/start-s3p-tests.sh +++ b/csit/start-s3p-tests.sh @@ -29,7 +29,7 @@ function start_kubernetes() { function install_jmeter() { #NOTE: $TESTDIR is set by the component triggering this script - cd ${TESTDIR}/automate-performance + cd ${TESTDIR}/automate-s3p-test sudo apt-get update @@ -72,7 +72,7 @@ function on_exit() { function teardown() { echo "Removing temp directories.." - rm -r ${TESTDIR}/automate-performance + rm -r ${TESTDIR}/automate-s3p-test echo "Removed directories" @@ -102,7 +102,7 @@ then echo "===========================" echo "Executing tests" echo "===========================" - cd ${TESTDIR}/automate-performance || exit + cd ${TESTDIR}/automate-s3p-test || exit nohup jmeter -n -t $2 -l s3pTestResults.jtl # TODO: Generate report on on_exit() @@ -113,4 +113,4 @@ then teardown else echo "Invalid arguments provided. Usage: $0 [option..] {run | uninstall}" -fi \ No newline at end of file +fi