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

@@ -275,6 +275,9 @@ run_crictl() {
# keepalive runs a command and keeps it alive.
# keepalive process is eventually killed in test_teardown.
keepalive() {
# The command may return non-zero and we want to continue this script.
# e.g. containerd receives SIGKILL
set +e
local command=$1
echo "${command}"
local wait_period=$2