Skip to content

Commit 6150170

Browse files
authored
Merge pull request #5235 from estesp/testimage-userns-ro
Use specific image for user namespaces tests
2 parents a47feaf + 33776ad commit 6150170

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

integration/client/container_linux_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ import (
5555
"golang.org/x/sys/unix"
5656
)
5757

58+
const testUserNSImage = "mirror.gcr.io/library/alpine:latest"
59+
5860
// TestRegressionIssue4769 verifies the number of task exit events.
5961
//
6062
// Issue: https://github.com/containerd/containerd/issues/4769.
@@ -1596,7 +1598,7 @@ func testUserNamespaces(t *testing.T, readonlyRootFS bool) {
15961598
)
15971599
defer cancel()
15981600

1599-
image, err = client.GetImage(ctx, testImage)
1601+
image, err = client.Pull(ctx, testUserNSImage, WithPullUnpack)
16001602
if err != nil {
16011603
t.Fatal(err)
16021604
}

0 commit comments

Comments
 (0)