diff --git a/integration-cli/docker_cli_pull_test.go b/integration-cli/docker_cli_pull_test.go index 13b443f3d668e21a44784096603696ee6a57ede8..fa7d2be44eeba7f040756353ae3f1e4d969b8012 100644 --- a/integration-cli/docker_cli_pull_test.go +++ b/integration-cli/docker_cli_pull_test.go @@ -8,7 +8,7 @@ import ( // pulling an image from the central registry should work func TestPullImageFromCentralRegistry(t *testing.T) { - pullCmd := exec.Command(dockerBinary, "pull", "busybox") + pullCmd := exec.Command(dockerBinary, "pull", "busybox:latest") out, exitCode, err := runCommandWithOutput(pullCmd) errorOut(err, t, fmt.Sprintf("%s %s", out, err)) diff --git a/integration/runtime_test.go b/integration/runtime_test.go index 9c59d38e01151bcb42b9dc5dc2e41e2b790aa7fa..96df15be60604ddf7d146463591bdca08cc0a5c8 100644 --- a/integration/runtime_test.go +++ b/integration/runtime_test.go @@ -133,10 +133,10 @@ func init() { func setupBaseImage() { eng := newTestEngine(log.New(os.Stderr, "", 0), false, unitTestStoreBase) - job := eng.Job("inspect", unitTestImageName, "image") + job := eng.Job("image_inspect", unitTestImageName) img, _ := job.Stdout.AddEnv() // If the unit test is not found, try to download it. - if err := job.Run(); err != nil || img.Get("id") != unitTestImageID { + if err := job.Run(); err != nil || img.Get("Id") != unitTestImageID { // Retrieve the Image job = eng.Job("pull", unitTestImageName) job.Stdout.Add(utils.NopWriteCloser(os.Stdout))