mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-09 04:39:17 +00:00
tests: Use "Failed" consistently for both runtimes
In k8s-guest-pull-image.bats, `failed to pull image` is not caught by assert_logs_contain() for runtime-rs. To ensure consistency, this commit changes `failed` to `Failed`, which works for both runtimes. Signed-off-by: Hyounggyu Choi <Hyounggyu.Choi@ibm.com>
This commit is contained in:
@@ -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" {
|
||||
|
Reference in New Issue
Block a user