27 lines
867 B
Diff
27 lines
867 B
Diff
From a478553bc957d0cd684883ad63fec6a639631658 Mon Sep 17 00:00:00 2001
|
|
From: zhongtao <zhongtao17@huawei.com>
|
|
Date: Mon, 17 Feb 2025 16:27:10 +0800
|
|
Subject: [PATCH 196/198] add remove pod in cri stats
|
|
|
|
Signed-off-by: zhongtao <zhongtao17@huawei.com>
|
|
---
|
|
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
|
|
|