mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-21 09:25:19 +00:00
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:
parent
980860d012
commit
cdb34df54f
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user