blob: 576db7b2bca2e08d6c2ed2a98a2ec90fa40ca4b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
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
|