mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
DeadlineExceeded now implements a TimeOut() function, sincedc4427f372Check for this interface, to prevent possibly incorrect failures; ``` 00:16:41 --- FAIL: TestClientWithRequestTimeout (0.00s) 00:16:41 client_test.go:259: assertion failed: 00:16:41 --- context.DeadlineExceeded 00:16:41 +++ err 00:16:41 : 00:16:41 -: context.deadlineExceededError{} 00:16:41 +: &net.OpError{Op: "dial", Net: "tcp", Addr: s"127.0.0.1:49294", Err: &poll.TimeoutError{}} 00:16:41 ``` Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commitc7816c5323) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>