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)
  • Loading branch information
creydr committed Sep 7, 2022
1 parent 8be32d2 commit 51b4fdc
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 51b4fdc

Please sign in to comment.