tests: fixup error string for signature tests

Guets components is less verbose with its error messages. This will be
fixed after the release, but for now let's replace this with a more
generic message.

Signed-off-by: Tobin Feldman-Fitzthum <tobin@ibm.com>
This commit is contained in:
Tobin Feldman-Fitzthum 2025-05-13 16:54:06 -05:00
parent ef98f39b6d
commit e2e503eb33

View File

@ -97,7 +97,7 @@ EOF
echo "Pod ${kata_pod}: $(cat ${kata_pod})"
assert_pod_fail "${kata_pod}"
assert_logs_contain "${node}" kata "${node_start_time}" "image security validation failed"
assert_logs_contain "${node}" kata "${node_start_time}" "failed to pull image"
}
@test "Create a pod from a signed image, on a 'restricted registry' is successful" {
@ -123,7 +123,7 @@ EOF
echo "Pod ${kata_pod}: $(cat ${kata_pod})"
assert_pod_fail "${kata_pod}"
assert_logs_contain "${node}" kata "${node_start_time}" "image security validation failed"
assert_logs_contain "${node}" kata "${node_start_time}" "failed to pull image"
}
@test "Create a pod from an unsigned image, on a 'restricted registry' works if policy files isn't set" {