From 81daf7f4fbc08f7b9e32f36c9470890b56907935 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Tue, 30 Oct 2018 23:17:00 +0100 Subject: [PATCH] Fix double "unix://" scheme in TestInfoAPIWarnings `d.Sock()` already returns the socket-path including the `unix://` scheme. Also removed `--iptables=false`, as it didn't really seem nescessary for this test. Signed-off-by: Sebastiaan van Stijn (cherry picked from commit 14342046477b7ed87a9c5c451bb4520c7f6cabcc) Signed-off-by: Sebastiaan van Stijn Upstream-commit: c40a7d393bca990e07973024e71034b4b6fc05e5 Component: engine --- components/engine/integration/system/info_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/engine/integration/system/info_test.go b/components/engine/integration/system/info_test.go index b8bdcf0049..7a653d0a6a 100644 --- a/components/engine/integration/system/info_test.go +++ b/components/engine/integration/system/info_test.go @@ -48,7 +48,7 @@ func TestInfoAPIWarnings(t *testing.T) { client, err := d.NewClient() assert.NilError(t, err) - d.StartWithBusybox(t, "--iptables=false", "-H=0.0.0.0:23756", "-H=unix://"+d.Sock()) + d.StartWithBusybox(t, "-H=0.0.0.0:23756", "-H="+d.Sock()) defer d.Stop(t) info, err := client.Info(context.Background())