Merge pull request #1502 from crosbymichael/test-image

[tmp] Use amd64 test image
This commit is contained in:
Michael Crosby 2017-09-13 13:43:19 -04:00 committed by GitHub
commit 558b46f26e
2 changed files with 5 additions and 2 deletions

View File

@ -33,6 +33,7 @@ func init() {
case "s390x":
testImage = "docker.io/s390x/alpine:latest"
default:
testImage = "docker.io/library/alpine:latest"
// FIXME: change this back after multiplatform support is added to pull
testImage = "docker.io/amd64/alpine:latest"
}
}

View File

@ -730,7 +730,9 @@ func TestShimSigkilled(t *testing.T) {
defer cancel()
// redis unset its PDeathSignal making it a good candidate
image, err = client.Pull(ctx, "docker.io/library/redis:alpine", WithPullUnpack)
//
// FIXME: change this back after multiplatform support is added to pull
image, err = client.Pull(ctx, "docker.io/amd64/redis:alpine", WithPullUnpack)
if err != nil {
t.Fatal(err)
}