summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Hsu <andrewhsu@docker.com>2018-07-18 08:09:40 -0700
committerGitHub <noreply@github.com>2018-07-18 08:09:40 -0700
commita3ef7e9a9bda939a73dc353aa8df8b0aa47c9466 (patch)
treea28c17887cf2987c97195c4f42c76e555e35d4de
parentfe1b4aa5711ed13402ec36b7a0625c27f6e9a846 (diff)
parent8fcc0d53cbf6d6e2b51d68e8407a8a73eb017222 (diff)
downloaddocker-18.06.0-ce.tar.gz
Merge pull request #26 from thaJeztah/18.06-backport-fix_TestExternalGraphDriver_pullv18.06.0-ce
[18.06] Fix flaky TestExternalGraphDriver/pull test
-rw-r--r--integration/plugin/graphdriver/external_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/integration/plugin/graphdriver/external_test.go b/integration/plugin/graphdriver/external_test.go
index 3596056a84..e34e55ec93 100644
--- a/integration/plugin/graphdriver/external_test.go
+++ b/integration/plugin/graphdriver/external_test.go
@@ -394,12 +394,12 @@ func testGraphDriverPull(c client.APIClient, d *daemon.Daemon) func(*testing.T)
defer d.Stop(t)
ctx := context.Background()
- r, err := c.ImagePull(ctx, "busybox:latest", types.ImagePullOptions{})
+ r, err := c.ImagePull(ctx, "busybox:latest@sha256:bbc3a03235220b170ba48a157dd097dd1379299370e1ed99ce976df0355d24f0", types.ImagePullOptions{})
assert.NilError(t, err)
_, err = io.Copy(ioutil.Discard, r)
assert.NilError(t, err)
- container.Run(t, ctx, c, container.WithImage("busybox:latest"))
+ container.Run(t, ctx, c, container.WithImage("busybox:latest@sha256:bbc3a03235220b170ba48a157dd097dd1379299370e1ed99ce976df0355d24f0"))
}
}