go: net/http: TestServerSetKeepAlivesEnabledClosesConns failures
#!watchflakes
post <- pkg == "net/http" && test == "TestServerSetKeepAlivesEnabledClosesConns"
Bug automatically created to track these flakes.
— watchflakes
About this issue
- Original URL
- State: open
- Created 2 years ago
- Comments: 26 (6 by maintainers)
It’s different. The second error is caused by two requests sent one after the other and expecting the connection for the first to be used on the second.
The first failure is after the two requests have used the same single connection, that it is closed after the idle timeout. I believe the issue here is timing. We hope that in 2s the connection is closed.