Repository navigation
Commit dfbda26
authored
Fix flaky tests and s3 kit warnings (#423)
* fix(e2e): send an explicit empty body for directory markers (#369)
The AWS SDK sets no Content-Length for an empty string body and warns
about a stream of unknown length on every directory marker.
* fix(e2e): wait for the URL to be restored after a cancelled Back (#369)
SvelteKit restores the URL of a cancelled popstate navigation with
history.go, so the leave warning can be visible before the URL is back.
This flaked on Firefox in CI.
* fix(e2e): tolerate a concurrent bucket creation in Garage setup
Two workers provisioning the same bucket could both miss it in the
lookup and the second CreateBucket failed with 409. Look the bucket up
again when the creation fails.1 parent b3cf3b4 commit dfbda26
3 files changed
Lines changed: 17 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
210 | 213 | | |
211 | 214 | | |
212 | 215 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
346 | 346 | | |
347 | 347 | | |
348 | 348 | | |
349 | | - | |
| 349 | + | |
| 350 | + | |
350 | 351 | | |
351 | 352 | | |
352 | 353 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
156 | 166 | | |
157 | 167 | | |
158 | 168 | | |
| |||
0 commit comments