From 0c1bb16a07deb25c5b676a0588fb43f3bde61098 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Sat, 29 Dec 2018 20:46:33 +0100 Subject: [PATCH] Skip TestInfoAPIWarnings on remote daemons This test starts a new daemon, which will fail when testing against a remote daemon; --- FAIL: TestInfoAPIWarnings (0.00s) info_test.go:53: failed to start daemon with arguments [-H=0.0.0.0:23756 -H=unix:///tmp/docker-integration/d5153ebcf89ef.sock] : [d5153ebcf89ef] could not find docker binary in $PATH: exec: "dockerd": executable file not found in $PATH Signed-off-by: Sebastiaan van Stijn (cherry picked from commit 056840c2a644cc37f91392103f5c3ae05d14a695) Signed-off-by: Sebastiaan van Stijn Upstream-commit: 5e024a2fcd10585611ab1ea792d0256c6477c87c Component: engine --- components/engine/integration/system/info_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/components/engine/integration/system/info_test.go b/components/engine/integration/system/info_test.go index 80058523a3..8130361988 100644 --- a/components/engine/integration/system/info_test.go +++ b/components/engine/integration/system/info_test.go @@ -44,6 +44,7 @@ func TestInfoAPI(t *testing.T) { } func TestInfoAPIWarnings(t *testing.T) { + skip.If(t, testEnv.IsRemoteDaemon, "cannot run daemon when remote daemon") skip.If(t, testEnv.DaemonInfo.OSType == "windows", "FIXME") d := daemon.New(t) c := d.NewClientT(t)