Skip to content

Commit e1a7947

Browse files
authored
Update flakiness.yml
1 parent 9272de3 commit e1a7947

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/flakiness.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ jobs:
7272
max_iter="${{ inputs.max_iter || '100' }}"
7373
bash scripts/open-close-loop.sh "${max_iter}"
7474
ec=$?
75-
# Interpret: 0 = flake reproduced (fail the job), 1 = not reproduced within budget (pass), others = infra error
76-
if [[ $ec -eq 0 ]]; then
75+
# Interpret: 1 = flake reproduced (fail the job), 1 = not reproduced within budget (pass), others = infra error
76+
if [[ $ec -eq 1 ]]; then
7777
echo "Broken pipe reproduced: marking job as failed"
7878
exit 1
79-
elif [[ $ec -eq 1 ]]; then
79+
elif [[ $ec -eq 0 ]]; then
8080
echo "No flake reproduced within MAX_ITER=${max_iter}: passing"
8181
exit 0
8282
else

0 commit comments

Comments
 (0)