Update test based on new CRI.

Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
Lantao Liu
2018-10-05 11:01:20 -07:00
parent 5a2da31351
commit 0580ce45fd
14 changed files with 20 additions and 19 deletions

View File

@@ -91,7 +91,7 @@ func TestContainerdRestart(t *testing.T) {
for i := range sandboxes {
s := &sandboxes[i]
sbCfg := PodSandboxConfig(s.name, sandboxNS)
sid, err := runtimeService.RunPodSandbox(sbCfg)
sid, err := runtimeService.RunPodSandbox(sbCfg, *runtimeHandler)
require.NoError(t, err)
defer func() {
// Make sure the sandbox is cleaned up in any case.