Skip to content

Commit ca3f16c

Browse files
committed
[tmp] Use amd64 test image
This is a workaround because official images were pushed with multi-arch support recently and the current Pull code is not accounting for this. Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
1 parent a2aa4ec commit ca3f16c

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

client_unix_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ func init() {
3333
case "s390x":
3434
testImage = "docker.io/s390x/alpine:latest"
3535
default:
36-
testImage = "docker.io/library/alpine:latest"
36+
// FIXME: change this back after multiplatform support is added to pull
37+
testImage = "docker.io/amd64/alpine:latest"
3738
}
3839
}

container_linux_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,9 @@ func TestShimSigkilled(t *testing.T) {
730730
defer cancel()
731731

732732
// redis unset its PDeathSignal making it a good candidate
733-
image, err = client.Pull(ctx, "docker.io/library/redis:alpine", WithPullUnpack)
733+
//
734+
// FIXME: change this back after multiplatform support is added to pull
735+
image, err = client.Pull(ctx, "docker.io/amd64/redis:alpine", WithPullUnpack)
734736
if err != nil {
735737
t.Fatal(err)
736738
}

0 commit comments

Comments
 (0)