Skip to content

Commit cf60d41

Browse files
authored
TRT-2288: Enable aggressive intra-run retries on all presubmit jobs (#69924)
1 parent 36eb04c commit cf60d41

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

ci-operator/step-registry/baremetalds/e2e/test/baremetalds-e2e-test-commands.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ export KUBECONFIG=$KUBECONFIG_BAK
1919
# Starting in 4.21, we will aggressively retry test failures only in
2020
# presubmits to determine if a failure is a flake or legitimate. This is
2121
# to reduce the number of retests on PR's.
22-
# TODO: Remove "origin" and run everywhere
23-
if [[ "$JOB_TYPE" == "presubmit" && ( "$PULL_BASE_REF" == "main" || "$PULL_BASE_REF" == "master" ) && "$REPO_NAME" == "origin" ]]; then
22+
if [[ "$JOB_TYPE" == "presubmit" && ( "$PULL_BASE_REF" == "main" || "$PULL_BASE_REF" == "master" ) ]]; then
2423
if openshift-tests run --help | grep -q 'retry-strategy'; then
2524
TEST_ARGS+=" --retry-strategy=aggressive"
2625
fi

ci-operator/step-registry/openshift/e2e/test/openshift-e2e-test-commands.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ export KUBECONFIG=$KUBECONFIG_BAK
2626
# Starting in 4.21, we will aggressively retry test failures only in
2727
# presubmits to determine if a failure is a flake or legitimate. This is
2828
# to reduce the number of retests on PR's.
29-
# TODO: Remove "origin" and run everywhere
30-
if [[ "$JOB_TYPE" == "presubmit" && ( "$PULL_BASE_REF" == "main" || "$PULL_BASE_REF" == "master" ) && "$REPO_NAME" == "origin" ]]; then
29+
if [[ "$JOB_TYPE" == "presubmit" && ( "$PULL_BASE_REF" == "main" || "$PULL_BASE_REF" == "master" ) ]]; then
3130
if openshift-tests run --help | grep -q 'retry-strategy'; then
3231
TEST_ARGS+=" --retry-strategy=aggressive"
3332
fi

ci-operator/step-registry/openshift/microshift/e2e/origin-conformance/openshift-microshift-e2e-origin-conformance-commands.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,7 @@ TEST_ARGS="--max-parallel-tests 30"
7474
# Starting in 4.21, we will aggressively retry test failures only in
7575
# presubmits to determine if a failure is a flake or legitimate. This is
7676
# to reduce the number of retests on PR's.
77-
# TODO: Remove "origin" and run everywhere
78-
if [[ "$JOB_TYPE" == "presubmit" && ( "$PULL_BASE_REF" == "main" || "$PULL_BASE_REF" == "master" ) && "$REPO_NAME" == "origin" ]]; then
77+
if [[ "$JOB_TYPE" == "presubmit" && ( "$PULL_BASE_REF" == "main" || "$PULL_BASE_REF" == "master" ) ]]; then
7978
if openshift-tests run --help | grep -q 'retry-strategy'; then
8079
TEST_ARGS+=" --retry-strategy=aggressive"
8180
fi

ci-operator/step-registry/single-node/e2e/test/single-node-e2e-test-commands.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ export KUBECONFIG=$KUBECONFIG_BAK
2424
# Starting in 4.21, we will aggressively retry test failures only in
2525
# presubmits to determine if a failure is a flake or legitimate. This is
2626
# to reduce the number of retests on PR's.
27-
# TODO: Remove "origin" and run everywhere
28-
if [[ "$JOB_TYPE" == "presubmit" && ( "$PULL_BASE_REF" == "main" || "$PULL_BASE_REF" == "master" ) && "$REPO_NAME" == "origin" ]]; then
27+
if [[ "$JOB_TYPE" == "presubmit" && ( "$PULL_BASE_REF" == "main" || "$PULL_BASE_REF" == "master" ) ]]; then
2928
if openshift-tests run --help | grep -q 'retry-strategy'; then
3029
TEST_ARGS+=" --retry-strategy=aggressive"
3130
fi

0 commit comments

Comments
 (0)