CI: Unify error pattern matching for both runtime-go and runtime-rs

Use more specific error pattern "\[CDH\] \[ERROR\]: Image Client error:
Initialize
resource provider failed: Get resource failed" instead of generic "\[CDH\]
\[ERROR\]:
Get resource failed" to ensure compatibility across runtime-go and
runtime-rs scenarios.

Signed-off-by: Alex Lyn <alex.lyn@antgroup.com>
This commit is contained in:
Alex Lyn 2025-08-19 15:08:07 +08:00
parent 980860d012
commit cdb34df54f

View File

@ -182,7 +182,7 @@ EOF
return 1
fi
assert_logs_contain "${node}" kata "${node_start_time}" "\[CDH\] \[ERROR\]: Get Resource failed"
assert_logs_contain "${node}" kata "${node_start_time}" "\[CDH\] \[ERROR\]: Image Client error: Initialize resource provider failed: Get resource failed"
}
teardown() {