@@ -164,8 +164,8 @@ func TestListKubeContainers(t *testing.T) {
164
164
func TestSandboxImage (t * testing.T ) {
165
165
fcmd := fakeexec.FakeCmd {
166
166
CombinedOutputScript : []fakeexec.FakeAction {
167
- func () ([]byte , []byte , error ) { return []byte ("registry.k8s.io/pause:3.9 " ), nil , nil },
168
- func () ([]byte , []byte , error ) { return []byte ("registry.k8s.io/pause:3.9 \n " ), nil , nil },
167
+ func () ([]byte , []byte , error ) { return []byte ("registry.k8s.io/pause:ver " ), nil , nil },
168
+ func () ([]byte , []byte , error ) { return []byte ("registry.k8s.io/pause:ver \n " ), nil , nil },
169
169
func () ([]byte , []byte , error ) { return nil , nil , nil },
170
170
func () ([]byte , []byte , error ) { return nil , nil , & fakeexec.FakeExitError {Status : 1 } },
171
171
},
@@ -181,8 +181,8 @@ func TestSandboxImage(t *testing.T) {
181
181
expected string
182
182
isError bool
183
183
}{
184
- {"valid: read sandbox image normally" , "registry.k8s.io/pause:3.9 " , false },
185
- {"valid: read sandbox image with leading/trailing white spaces" , "registry.k8s.io/pause:3.9 " , false },
184
+ {"valid: read sandbox image normally" , "registry.k8s.io/pause:ver " , false },
185
+ {"valid: read sandbox image with leading/trailing white spaces" , "registry.k8s.io/pause:ver " , false },
186
186
{"invalid: read empty sandbox image" , "" , true },
187
187
{"invalid: failed to read sandbox image" , "" , true },
188
188
}
0 commit comments