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

@@ -55,7 +55,7 @@ func TestTruncIndex(t *testing.T) {
t.Logf("Create a sandbox")
sbConfig := PodSandboxConfig("sandbox", "truncindex")
sb, err := runtimeService.RunPodSandbox(sbConfig)
sb, err := runtimeService.RunPodSandbox(sbConfig, *runtimeHandler)
require.NoError(t, err)
sbTruncIndex := genTruncIndex(sb)
var hasStoppedSandbox bool