Repository navigation
Commit eb92380
committed
ensure_bucket: wait until the bucket answers (tests' NoSuchBucket race since #176)
The baselines flake's cause, printed by #211's diagnostic on main 40dcc92: HTTP 404 NoSuchBucket. In one test
binary, baselines' tests all create the bucket at once on a fresh RustFS; one gets 409 while another's create is in
progress, and its upload then finds no bucket. ensure_bucket now polls HEAD bucket until it answers (up to 10 s).1 parent 40dcc92 commit eb92380
1 file changed
Lines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
266 | 273 | | |
| 274 | + | |
267 | 275 | | |
268 | 276 | | |
269 | 277 | | |
| |||
0 commit comments