CI: match capitalized pull image error exactly

Update grep pattern from "failed to pull image" to "Failed to pull
image" to ensure an exact, case-sensitive match when parsing logs.

This prevents unintended matches to lowercase variants and aligns with
the actual log message format in the current system.

Signed-off-by: Alex Lyn <alex.lyn@antgroup.com>
This commit is contained in:
Alex Lyn 2025-08-18 15:04:49 +08:00
parent eaf440dbba
commit e9624fbf1b

View File

@ -84,7 +84,7 @@ setup() {
# The pod should be failed because the unpacked image size is larger than the memory size in the guest.
assert_pod_fail "$pod_config"
assert_logs_contain "$node" kata "$node_start_time" "failed to pull image"
assert_logs_contain "$node" kata "$node_start_time" "Failed to pull image"
}
@test "Test we can pull an image inside the guest using trusted storage" {