Commit 879a50d
Cairn Build
test(replication-chaos): treat the BotoCoreError family as transient, not fatal
The S2 SIGKILL scenario flaked: get_body() only caught (ClientError,
EndpointConnectionError), but a server that is down / being SIGKILLed / mid-restart
also raises other BotoCoreError subclasses (ResponseStreamingError, ConnectionError,
ReadTimeoutError) — boto3 has retries.max_attempts=1, so a single transient stream
hiccup during the convergence poll propagated as an unhandled exception and failed
the run. Catch the BotoCoreError base instead; converged() still counts real
convergence, so this makes the poll resilient without masking an actual failure.
Not a regression from the build-once CI change (it passed on the prior commit with
the same binary); a pre-existing timing flake.1 parent ab6cf2d commit 879a50d
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
119 | 125 | | |
120 | 126 | | |
121 | 127 | | |
| |||
0 commit comments