diff --git a/scripts/ci/run-test-local-env-manager.sh b/scripts/ci/run-test-local-env-manager.sh index 638eb3f04..bacff47bd 100755 --- a/scripts/ci/run-test-local-env-manager.sh +++ b/scripts/ci/run-test-local-env-manager.sh @@ -133,8 +133,8 @@ function set_instance_env { if [ $STATUS == "200" ]; then JOBS_CANCELED_BY_US=$(cat response.txt |jq -c ".[] | select((.name | contains(\"${CI_JOB_NAME}\")) and .status == \"canceled\" and (.duration >= 0))" | wc -l) if [[ $JOBS_CANCELED_BY_US -eq 0 ]]; then - # only mod 10 for PoC - R=$(( $CI_PIPELINE_ID % 10)); + # only mod 2 for PoC + R=$(( $CI_PIPELINE_ID % 2)); if [[ $R -eq 0 ]];then export X_INFRA_INSTANCE=spot fi;