Update test based on new PullImage CRI.

Signed-off-by: Haiyan Meng <haiyanmeng@google.com>
This commit is contained in:
Haiyan Meng
2019-02-26 12:19:01 -08:00
parent fd44b9a5d0
commit 035ce6c975
10 changed files with 20 additions and 16 deletions

View File

@@ -48,7 +48,7 @@ func TestAdditionalGids(t *testing.T) {
containerName = "test-container"
)
t.Logf("Pull test image %q", testImage)
img, err := imageService.PullImage(&runtime.ImageSpec{Image: testImage}, nil)
img, err := imageService.PullImage(&runtime.ImageSpec{Image: testImage}, nil, sbConfig)
require.NoError(t, err)
defer func() {
assert.NoError(t, imageService.RemoveImage(&runtime.ImageSpec{Image: img}))