Merge pull request #36257 from arm64b/fix-inspect-network-timeout

Fix timeout issue of `InspectNetwork` on AArch64
Upstream-commit: 178ebca0b9fdf41d473cd6dd52ff6607bed28fd7
Component: engine
This commit is contained in:
Akihiro Suda
2018-02-11 20:50:08 +09:00
committed by GitHub
@@ -47,7 +47,7 @@ func TestInspectNetwork(t *testing.T) {
require.NoError(t, err)
pollSettings := func(config *poll.Settings) {
if runtime.GOARCH == "arm" {
if runtime.GOARCH == "arm64" || runtime.GOARCH == "arm" {
config.Timeout = 30 * time.Second
config.Delay = 100 * time.Millisecond
}