Commit c5c3556
committed
fix(e2e-cli): use config timeout for queue drain wait
The CLI was using a hardcoded 30s timeout for waitForQueueDrain,
which is shorter than a single Retry-After: 60 cycle. Events
rate-limited near the end of a test run would be dropped because the
process exited before the retry fired.
Now uses config.timeout (default 120s) so the drain wait accommodates
at least one full retry cycle.1 parent a3b9e74 commit c5c3556
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
229 | 230 | | |
230 | 231 | | |
231 | 232 | | |
232 | | - | |
| 233 | + | |
| 234 | + | |
233 | 235 | | |
234 | 236 | | |
235 | 237 | | |
| |||
0 commit comments