From 14342046477b7ed87a9c5c451bb4520c7f6cabcc 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 --- integration/system/info_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration/system/info_test.go b/integration/system/info_test.go index fa2157b851..2051062d74 100644 --- a/integration/system/info_test.go +++ b/integration/system/info_test.go @@ -50,7 +50,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())