From 6d6202bbe3d9761d2006f07afafe3a6043f4dd37 Mon Sep 17 00:00:00 2001 From: Hyounggyu Choi Date: Wed, 3 Sep 2025 09:09:13 +0200 Subject: [PATCH] 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 --- tests/integration/kubernetes/k8s-guest-pull-image.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/kubernetes/k8s-guest-pull-image.bats b/tests/integration/kubernetes/k8s-guest-pull-image.bats index ca53140644..a828851d21 100644 --- a/tests/integration/kubernetes/k8s-guest-pull-image.bats +++ b/tests/integration/kubernetes/k8s-guest-pull-image.bats @@ -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" {