Skip to content

Commit 0d4bc08

Browse files
committed
Add unit test rerun to avoid flakes
Signed-off-by: Jakub Stejskal <xstejs24@gmail.com>
1 parent e3de8ed commit 0d4bc08

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/reusable-test-integrations.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ jobs:
112112
artifactSuffix: ${{ inputs.artifactSuffix }}
113113
clusterOperatorBuild: ${{ inputs.clusterOperatorBuild }}
114114
env:
115-
MVN_ARGS: "-DskipITs"
115+
# Skip just ITs and rerun unit tests in case of flakes
116+
MVN_ARGS: "-DskipITs -Dsurefire.rerunFailingTestsCount=5"
116117

117118
- name: Verify binaries artifact was created
118119
run: |

0 commit comments

Comments
 (0)