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 00a4f67ddf
Reduce TestClientWithRequestTimeout flakiness
The test sometimes failed because no error was returned:

    === Failed
    === FAIL: pkg/plugins TestClientWithRequestTimeout (0.00s)
         client_test.go:254: assertion failed: expected an error, got nil: expected error

Possibly caused by a race condition, as the sleep was just 1 ms longer than the timeout;
this patch is increasing the sleep in the response to try to reduce flakiness.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-06-29 23:53:23 +02:00
..
pluginrpc-gen Add canonical import comment 2018-02-05 16:51:57 -05:00
transport bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
client.go Add canonical import comment 2018-02-05 16:51:57 -05:00
client_test.go Reduce TestClientWithRequestTimeout flakiness 2021-06-29 23:53:23 +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 bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01: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 Replace errors.Cause() with errors.Is() / errors.As() 2020-04-29 00:28:41 +02:00
plugins.go Don't try to load plugin without name 2019-07-08 14:52:45 +02: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