We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9272de3 commit e1a7947Copy full SHA for e1a7947
.github/workflows/flakiness.yml
@@ -72,11 +72,11 @@ jobs:
72
max_iter="${{ inputs.max_iter || '100' }}"
73
bash scripts/open-close-loop.sh "${max_iter}"
74
ec=$?
75
- # Interpret: 0 = flake reproduced (fail the job), 1 = not reproduced within budget (pass), others = infra error
76
- if [[ $ec -eq 0 ]]; then
+ # Interpret: 1 = flake reproduced (fail the job), 1 = not reproduced within budget (pass), others = infra error
+ if [[ $ec -eq 1 ]]; then
77
echo "Broken pipe reproduced: marking job as failed"
78
exit 1
79
- elif [[ $ec -eq 1 ]]; then
+ elif [[ $ec -eq 0 ]]; then
80
echo "No flake reproduced within MAX_ITER=${max_iter}: passing"
81
exit 0
82
else
0 commit comments