diff options
author | CoprDistGit <infra@openeuler.org> | 2025-05-30 08:24:45 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2025-05-30 08:24:45 +0000 |
commit | 7df887ee174b7802d30c6e0bda4d763274df91f3 (patch) | |
tree | a1735112507017c38f2b08d0aee4c136c2307c3f /0196-add-remove-pod-in-cri-stats.patch | |
parent | 664ca34f01a2f1c50e94ba70a97ad21cce6e72c2 (diff) |
automatic import of iSuladopeneuler24.03_LTS_SP1
Diffstat (limited to '0196-add-remove-pod-in-cri-stats.patch')
-rw-r--r-- | 0196-add-remove-pod-in-cri-stats.patch | 26 |
1 files changed, 26 insertions, 0 deletions
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 <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 + |