diff --git a/test/e2e_node/criproxy_test.go b/test/e2e_node/criproxy_test.go index 8bfbb1c9189..4a632217428 100644 --- a/test/e2e_node/criproxy_test.go +++ b/test/e2e_node/criproxy_test.go @@ -216,7 +216,7 @@ var _ = SIGDescribe(feature.CriProxy, framework.WithSerial(), func() { ginkgo.By("Expecting an error when imageSpec.Image is empty") gomega.Eventually(func() error { - return verifyErrorInKubeletLogs("image was not found") + return verifyErrorInKubeletLogs("Failed to inspect image") }).WithPolling(5*time.Second).WithTimeout(20*time.Second).ToNot(gomega.HaveOccurred(), "Could not verify error in kubelet logs") }) })