소스 검색

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 년 전
부모
커밋
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())