Fix directory naming for s3p test automation 36/139336/1
authorwaynedunican <wayne.dunican@est.tech>
Wed, 6 Nov 2024 11:07:56 +0000 (11:07 +0000)
committerwaynedunican <wayne.dunican@est.tech>
Wed, 6 Nov 2024 11:08:01 +0000 (11:08 +0000)
Issue-ID: POLICY-5148
Change-Id: I837d3ce8269d9f851536cbfffb9298bbd03afbcb
Signed-off-by: waynedunican <wayne.dunican@est.tech>
csit/start-s3p-tests.sh

index 2e397eb..4197460 100755 (executable)
@@ -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