1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg/plugins
Sebastiaan van Stijn c7816c5323
Harden TestClientWithRequestTimeout
DeadlineExceeded now implements a TimeOut() function,
since dc4427f372

Check 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>
2019-07-12 12:31:51 +02:00
..
pluginrpc-gen Add canonical import comment 2018-02-05 16:51:57 -05:00
transport Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
client.go Add canonical import comment 2018-02-05 16:51:57 -05:00
client_test.go Harden TestClientWithRequestTimeout 2019-07-12 12:31:51 +02:00
discovery.go Add canonical import comment 2018-02-05 16:51:57 -05:00
discovery_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
discovery_unix.go Add canonical import comment 2018-02-05 16:51:57 -05:00
discovery_unix_test.go Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
discovery_windows.go Add canonical import comment 2018-02-05 16:51:57 -05:00
errors.go Add canonical import comment 2018-02-05 16:51:57 -05:00
plugin_test.go Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
plugins.go Remove duplicated words in pkg files 2018-10-05 22:32:14 +08:00
plugins_unix.go Merge pull request #35829 from cpuguy83/no_private_mount_for_plugins 2018-02-21 12:28:13 +01:00
plugins_windows.go Merge pull request #35829 from cpuguy83/no_private_mount_for_plugins 2018-02-21 12:28:13 +01:00