Commit ffc78f3
committed
ci: exit 75 on kafka port-open to guarantee retry on broker unreadiness
nc -z only verifies TCP connectivity, not that the Kafka broker is ready
to handle requests. Returning 0 on a successful nc -z check was a false
positive: the job would proceed, tests would fail with exit code 1, and
the exit_codes: 75 retry would never trigger.
Also add exit_codes: 75 to the PHP Language Tests explicit retry block,
which was overriding the default: retry from generate-common.php and
dropping the exit_codes condition.1 parent 96c5f06 commit ffc78f3
2 files changed
Lines changed: 20 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
193 | 205 | | |
194 | 206 | | |
195 | 207 | | |
| |||
518 | 530 | | |
519 | 531 | | |
520 | 532 | | |
| 533 | + | |
| 534 | + | |
521 | 535 | | |
522 | 536 | | |
523 | 537 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
55 | 57 | | |
56 | | - | |
57 | | - | |
58 | | - | |
| 58 | + | |
| 59 | + | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
| |||
0 commit comments