From be708f410e49b4f0c58621da5f83608999c88d1c Mon Sep 17 00:00:00 2001 From: Tobin Feldman-Fitzthum Date: Tue, 13 May 2025 16:57:52 -0500 Subject: [PATCH] tests: fixup error assert in pull image test Guest components is now less verbose with its error messages. This will be fixed after the release but for now switch to a more generic error message that is still found in the logs. Signed-off-by: Tobin Feldman-Fitzthum --- tests/integration/kubernetes/k8s-guest-pull-image.bats | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/integration/kubernetes/k8s-guest-pull-image.bats b/tests/integration/kubernetes/k8s-guest-pull-image.bats index 2f1ff8548e..ca53140644 100644 --- a/tests/integration/kubernetes/k8s-guest-pull-image.bats +++ b/tests/integration/kubernetes/k8s-guest-pull-image.bats @@ -84,8 +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" \ - 'No space left on device' + 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" {