diff --git a/pipelines/e2e/Jenkinsfile b/pipelines/e2e/Jenkinsfile index 9642046b95..8f98e2db00 100644 --- a/pipelines/e2e/Jenkinsfile +++ b/pipelines/e2e/Jenkinsfile @@ -104,7 +104,7 @@ node { --env LONGHORN_TRANSIENT_VERSION=${LONGHORN_TRANSIENT_VERSION} \ --env LONGHORN_TEST_CLOUDPROVIDER=${LONGHORN_TEST_CLOUDPROVIDER} \ --env LONGHORN_UPGRADE_TEST=${LONGHORN_UPGRADE_TEST} \ - --env PYTEST_CUSTOM_OPTIONS="${PYTEST_CUSTOM_OPTIONS}" \ + --env ROBOT_CUSTOM_OPTIONS="${ROBOT_CUSTOM_OPTIONS}" \ --env BACKUP_STORE_TYPE="${BACKUP_STORE_TYPE}" \ --env TF_VAR_use_hdd=${USE_HDD} \ --env TF_VAR_arch=${ARCH} \ diff --git a/pipelines/utilities/run_longhorn_e2e_test.sh b/pipelines/utilities/run_longhorn_e2e_test.sh index 0809e40fc0..a1cd587071 100755 --- a/pipelines/utilities/run_longhorn_e2e_test.sh +++ b/pipelines/utilities/run_longhorn_e2e_test.sh @@ -4,7 +4,7 @@ run_longhorn_e2e_test(){ LONGHORN_TESTS_MANIFEST_FILE_PATH="e2e/deploy/test.yaml" - eval "ROBOT_COMMAND_ARGS=($PYTEST_CUSTOM_OPTIONS)" + eval "ROBOT_COMMAND_ARGS=($ROBOT_CUSTOM_OPTIONS)" for OPT in "${ROBOT_COMMAND_ARGS[@]}"; do ROBOT_COMMAND_ARR="${ROBOT_COMMAND_ARR}\"${OPT}\", " done @@ -83,7 +83,7 @@ run_longhorn_e2e_test_out_of_cluster(){ fi LONGHORN_BACKUPSTORE_POLL_INTERVAL="30" - eval "ROBOT_COMMAND_ARGS=($PYTEST_CUSTOM_OPTIONS)" + eval "ROBOT_COMMAND_ARGS=($ROBOT_CUSTOM_OPTIONS)" cat /tmp/instance_mapping cp "${KUBECONFIG}" /tmp/kubeconfig