Commit c786f07
fix(e2e): bound provision/mint/reap fetches at 45s (hang → fast retry) (#210)
playwright.live.config sets a test timeout but NO per-request timeout, so a
provision (CREATE) or reap (DROP) that intermittently HANGS on postgres-customers
contention runs until the whole test dies (seen as 2-3min vector/cache timeouts).
A hang isn't slowness — raising the test timeout just makes it last longer. Bound
the provision POST, the mint, and both reap DELETEs at 45s so a hang fails fast
and Playwright retries (passes when contention clears). Pairs with the
orphan-customer-DB sweep that removes the contention source.
Co-authored-by: Claude <noreply@anthropic.com>1 parent 318cd66 commit c786f07
3 files changed
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
187 | 191 | | |
188 | 192 | | |
189 | 193 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
138 | 142 | | |
139 | 143 | | |
140 | 144 | | |
| |||
217 | 221 | | |
218 | 222 | | |
219 | 223 | | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
220 | 227 | | |
221 | 228 | | |
222 | 229 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
284 | 290 | | |
285 | 291 | | |
286 | 292 | | |
| |||
0 commit comments