Просмотр исходного кода

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 лет назад
Родитель
Сommit
1434204647
1 измененных файлов с 1 добавлено и 1 удалено
  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()
 	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())