Update test based on new CRI.
Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user