Join GitHub today
net/http: TestServerShutdownStateNew is flaky #26233
Two recent failures on linux-amd64-longtest:
The test accepts shutdowns between 0.5x and 1.5x the expected amount, which is 5s. The result of not even a millisecond seems to point that the test completely breaks, as opposed to this being a timing issue. Looking into it.
It seems like the issue is that, sometimes, Shutdown gets run before the server accepts the new connection. Then, the server returns