Skip to content

Commit

Permalink
UPSTREAM: <carry>: Rerun flaky e2e tests
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Stäbler <cstabler@redhat.com>
(cherry picked from commit 4857be0)
(cherry picked from commit 22608ef)
(cherry picked from commit c8fa90d)
(cherry picked from commit 51b4fdc)
(cherry picked from commit 89d0f12)
(cherry picked from commit 3111167)
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
(cherry picked from commit c308763)
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
(cherry picked from commit 23b48e4)
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
  • Loading branch information
creydr authored and dougsland committed Apr 25, 2023
1 parent 79f7144 commit 2e66b85
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion hack/ocp-e2e-tests-handler.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export KUBEVIRTCI_RUNTIME="${KUBEVIRTCI_RUNTIME:-podman}"
export PRIMARY_NIC=enp2s0
export FIRST_SECONDARY_NIC=enp3s0
export SECOND_SECONDARY_NIC=enp4s0
export FLAKE_ATTEMPTS="${FLAKE_ATTEMPTS:-5}"

SKIPPED_TESTS="user-guide|bridged"

Expand Down Expand Up @@ -56,4 +57,4 @@ while ! oc get pods -n nmstate | grep handler; do sleep 1; done
# Then wait for them to be ready
while oc get pods -n nmstate | grep "0/1"; do sleep 1; done
# NOTE(bnemec): The test being filtered with "bridged" was re-enabled in 4.8, but seems to be consistently failing on OCP.
make test-e2e-handler E2E_TEST_ARGS="--skip=\"${SKIPPED_TESTS}\"" E2E_TEST_TIMEOUT=120h
make test-e2e-handler E2E_TEST_ARGS="--skip=\"${SKIPPED_TESTS}\" --flakeAttempts=${FLAKE_ATTEMPTS}" E2E_TEST_TIMEOUT=120h
3 changes: 2 additions & 1 deletion hack/ocp-e2e-tests-operator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export KUBEVIRT_PROVIDER=external
export IMAGE_BUILDER="${IMAGE_BUILDER:-podman}"
export DEV_IMAGE_REGISTRY="${DEV_IMAGE_REGISTRY:-quay.io}"
export KUBEVIRTCI_RUNTIME="${KUBEVIRTCI_RUNTIME:-podman}"
export FLAKE_ATTEMPTS="${FLAKE_ATTEMPTS:-5}"

make cluster-sync-operator
make test-e2e-operator
make test-e2e-operator E2E_TEST_ARGS="--flakeAttempts=${FLAKE_ATTEMPTS}"

0 comments on commit 2e66b85

Please sign in to comment.