You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tests: tweak timings so we cancel during HTTP processing
There are 3 possibilities:
* We cancel before the HTTP request (possibly even before the dial has completed)
* We cancel during the delay in our slow server
* We cancel after request processing
Because our intervals were [0, 1s] and [0.5s, 2s] I think we
previously could have hit all three cases.
Likely there is a bug lurking in one of these three cases,
but let's start by making the delays such that we are
always in the second situation (assuming dialing localhost
takes < 1s)
We now delay the HTTP response by 3 seconds, and cancel
after a random value in the interval [1s, 2s)
0 commit comments