From c7a593d8382647500813eb7830918b9890f8441f Mon Sep 17 00:00:00 2001 From: Chandrakala Subramanyam Date: Wed, 16 Oct 2024 21:09:10 +0530 Subject: [PATCH] Turning off local mode Signed-off-by: Chandrakala Subramanyam --- .../remote_monitoring_fault_tolerant_tests.sh | 3 ++- .../scale_test/remote_monitoring_scale_test_bulk.sh | 3 ++- .../stress_test/remote_monitoring_stress_test.sh | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/tests/scripts/remote_monitoring_tests/fault_tolerant_tests/remote_monitoring_fault_tolerant_tests.sh b/tests/scripts/remote_monitoring_tests/fault_tolerant_tests/remote_monitoring_fault_tolerant_tests.sh index 85b7d4826..c95615054 100755 --- a/tests/scripts/remote_monitoring_tests/fault_tolerant_tests/remote_monitoring_fault_tolerant_tests.sh +++ b/tests/scripts/remote_monitoring_tests/fault_tolerant_tests/remote_monitoring_fault_tolerant_tests.sh @@ -100,8 +100,9 @@ KRUIZE_SETUP_LOG="${LOG_DIR}/kruize_setup.log" # Setup kruize echo "Setting up kruize..." | tee -a ${LOG} -kruize_remote_patch +cluster_type=${CLUSTER_TYPE} pushd ${KRUIZE_REPO} > /dev/null + kruize_remote_patch echo "./deploy.sh -c ${CLUSTER_TYPE} -i ${KRUIZE_IMAGE} -m ${target} -t >> ${KRUIZE_SETUP_LOG}" | tee -a ${LOG} ./deploy.sh -c ${CLUSTER_TYPE} -i ${KRUIZE_IMAGE} -m ${target} -t >> ${KRUIZE_SETUP_LOG} 2>&1 diff --git a/tests/scripts/remote_monitoring_tests/scale_test/remote_monitoring_scale_test_bulk.sh b/tests/scripts/remote_monitoring_tests/scale_test/remote_monitoring_scale_test_bulk.sh index ac48235b4..a3c00fb0a 100755 --- a/tests/scripts/remote_monitoring_tests/scale_test/remote_monitoring_scale_test_bulk.sh +++ b/tests/scripts/remote_monitoring_tests/scale_test/remote_monitoring_scale_test_bulk.sh @@ -150,8 +150,9 @@ KRUIZE_SERVICE_LOG="${LOG_DIR}/kruize_service.log" if [ ${kruize_setup} == true ]; then echo "Setting up kruize..." | tee -a ${LOG} echo "setting local=false" - kruize_remote_patch + cluster_type=${CLUSTER_TYPE} pushd ${KRUIZE_REPO} > /dev/null + kruize_remote_patch echo "./deploy.sh -c ${CLUSTER_TYPE} -i ${KRUIZE_IMAGE} -m ${target} -t >> ${KRUIZE_SETUP_LOG}" | tee -a ${LOG} ./deploy.sh -c ${CLUSTER_TYPE} -i ${KRUIZE_IMAGE} -m ${target} -t >> ${KRUIZE_SETUP_LOG} 2>&1 diff --git a/tests/scripts/remote_monitoring_tests/stress_test/remote_monitoring_stress_test.sh b/tests/scripts/remote_monitoring_tests/stress_test/remote_monitoring_stress_test.sh index 98bb2c6fe..3007c06a7 100755 --- a/tests/scripts/remote_monitoring_tests/stress_test/remote_monitoring_stress_test.sh +++ b/tests/scripts/remote_monitoring_tests/stress_test/remote_monitoring_stress_test.sh @@ -131,8 +131,9 @@ echo "Invoking jmeter setup...done" | tee -a ${LOG} echo "Setting up kruize..." | tee -a ${LOG} echo "setting local=false" -kruize_remote_patch +cluster_type=${CLUSTER_TYPE} pushd ${KRUIZE_REPO} > /dev/null + kruize_remote_patch echo "./deploy.sh -c ${CLUSTER_TYPE} -i ${KRUIZE_IMAGE} -m ${target} -t >> ${LOG_DIR}/kruize_setup.log" ./deploy.sh -c ${CLUSTER_TYPE} -i ${KRUIZE_IMAGE} -m ${target} -t >> ${LOG_DIR}/kruize_setup.log 2>&1