From 80a9e6512b96afd70792187849eeebc3440d5130 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 26 May 2025 08:36:52 +0000 Subject: automatic import of iSulad --- 0196-add-remove-pod-in-cri-stats.patch | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 0196-add-remove-pod-in-cri-stats.patch (limited to '0196-add-remove-pod-in-cri-stats.patch') diff --git a/0196-add-remove-pod-in-cri-stats.patch b/0196-add-remove-pod-in-cri-stats.patch new file mode 100644 index 0000000..576db7b --- /dev/null +++ b/0196-add-remove-pod-in-cri-stats.patch @@ -0,0 +1,26 @@ +From a478553bc957d0cd684883ad63fec6a639631658 Mon Sep 17 00:00:00 2001 +From: zhongtao +Date: Mon, 17 Feb 2025 16:27:10 +0800 +Subject: [PATCH 196/198] add remove pod in cri stats + +Signed-off-by: zhongtao +--- + CI/test_cases/container_cases/cri_stats.sh | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/CI/test_cases/container_cases/cri_stats.sh b/CI/test_cases/container_cases/cri_stats.sh +index f6acb397..72fb2856 100755 +--- a/CI/test_cases/container_cases/cri_stats.sh ++++ b/CI/test_cases/container_cases/cri_stats.sh +@@ -66,6 +66,8 @@ function test_cri_stats() + + crictl stats $cid + [[ $? -ne 0 ]] && msg_err "${FUNCNAME[0]}:${LINENO} - failed to get cri stats" && ((ret++)) ++ ++ crictl rmp -f $(crictl pods -q) + + msg_info "${test} finished with return ${ret}..." + return ${ret} +-- +2.34.1 + -- cgit v1.2.3