Browse Source

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 <github@gone.nl>
Sebastiaan van Stijn 6 years ago
parent
commit
1434204647
1 changed files with 1 additions and 1 deletions
  1. 1 1
      integration/system/info_test.go

+ 1 - 1
integration/system/info_test.go

@@ -50,7 +50,7 @@ func TestInfoAPIWarnings(t *testing.T) {
 	client, err := d.NewClient()
 	client, err := d.NewClient()
 	assert.NilError(t, err)
 	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)
 	defer d.Stop(t)
 
 
 	info, err := client.Info(context.Background())
 	info, err := client.Info(context.Background())