mirror of
https://github.com/moby/moby.git
synced 2026-07-11 00:58:22 +00:00
TestClientWithRequestTimeout has been observed to flake in CI. The timing in the test is quite tight, only giving the client a 10ms window to time out, which could potentially be missed if the host is under load and the goroutine scheduling is unlucky. Give the client a full five seconds of grace to time out before failing the test. Signed-off-by: Cory Snider <csnider@mirantis.com>