Skip to content

Commit 2e4c1d4

Browse files
committed
Use the multi-arch version of the test images
volume-copy-up:2.0 and volume-ownership:2.0 Signed-off-by: Davanum Srinivas <[email protected]>
1 parent ca6a419 commit 2e4c1d4

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

integration/volume_copy_up_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import (
3131

3232
func TestVolumeCopyUp(t *testing.T) {
3333
const (
34-
testImage = "gcr.io/k8s-cri-containerd/volume-copy-up:1.0"
34+
testImage = "gcr.io/k8s-cri-containerd/volume-copy-up:2.0"
3535
execTimeout = time.Minute
3636
)
3737

@@ -60,7 +60,7 @@ func TestVolumeCopyUp(t *testing.T) {
6060
t.Logf("Start the container")
6161
require.NoError(t, runtimeService.StartContainer(cn))
6262

63-
// gcr.io/k8s-cri-containerd/volume-copy-up:1.0 contains a test_dir
63+
// gcr.io/k8s-cri-containerd/volume-copy-up:2.0 contains a test_dir
6464
// volume, which contains a test_file with content "test_content".
6565
t.Logf("Check whether volume contains the test file")
6666
stdout, stderr, err := runtimeService.ExecSync(cn, []string{
@@ -93,7 +93,7 @@ func TestVolumeCopyUp(t *testing.T) {
9393

9494
func TestVolumeOwnership(t *testing.T) {
9595
const (
96-
testImage = "gcr.io/k8s-cri-containerd/volume-ownership:1.0"
96+
testImage = "gcr.io/k8s-cri-containerd/volume-ownership:2.0"
9797
execTimeout = time.Minute
9898
)
9999

@@ -122,7 +122,7 @@ func TestVolumeOwnership(t *testing.T) {
122122
t.Logf("Start the container")
123123
require.NoError(t, runtimeService.StartContainer(cn))
124124

125-
// gcr.io/k8s-cri-containerd/volume-ownership:1.0 contains a test_dir
125+
// gcr.io/k8s-cri-containerd/volume-ownership:2.0 contains a test_dir
126126
// volume, which is owned by nobody:nogroup.
127127
t.Logf("Check ownership of test directory inside container")
128128
stdout, stderr, err := runtimeService.ExecSync(cn, []string{

0 commit comments

Comments
 (0)