瀏覽代碼

Fix failing integration tests

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
Derek McGowan 10 年之前
父節點
當前提交
f29aacbc48
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      integration-cli/docker_cli_pull_test.go

+ 1 - 0
integration-cli/docker_cli_pull_test.go

@@ -40,6 +40,7 @@ func TestPullImageWithAliases(t *testing.T) {
 	if out, _, err := runCommandWithOutput(pullCmd); err != nil {
 		t.Fatalf("Failed to pull %v: error %v, output %q", repoName, err, out)
 	}
+	defer deleteImages(repos[0])
 	if err := exec.Command(dockerBinary, "inspect", repos[0]).Run(); err != nil {
 		t.Fatalf("Image %v was not pulled down", repos[0])
 	}