Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
net/http: TestClientRedirectContext is flaky #16049
The TestClientRedirectContext test sometimes fail with this:
Recent flake on the darwin/386 builder:
I can't reproduce this on my Mac laptop even with thousands of runs, in normal mode or with
The code also seems fine.
I wonder if the failure was some network flake?
In any case, punting to Go 1.8. Help wanted.
Thank you for looking into this. FWIW, it happened recently on the darwin/arm builder:
I can constantly reproduce it on my Mac laptop (OS X 10.11.5). Using stress command
But I can't produce any valuable stack trace.
Any ideas how to get any valuable info?
i've found some things that may help here
there seems to be a race condition in
in the test case,
the first time:
the second time:
the following added log statements highlight this.
so even though
also, adding a small