Update container with sandbox metadata after NetNS is created

Signed-off-by: Qiutong Song <songqt01@gmail.com>
This commit is contained in:
Qiutong Song
2022-10-05 14:48:23 +00:00
parent 31f9d13f0c
commit b41d6f40bb
6 changed files with 232 additions and 28 deletions

View File

@@ -165,7 +165,7 @@ func TestContainerdRestart(t *testing.T) {
assert.NoError(t, err)
t.Logf("Restart containerd")
RestartContainerd(t)
RestartContainerd(t, syscall.SIGTERM)
t.Logf("Check sandbox and container state after restart")
loadedSandboxes, err := runtimeService.ListPodSandbox(&runtime.PodSandboxFilter{})