From e54eef10d1b79b5ea13101ff2df198a9981bef30 Mon Sep 17 00:00:00 2001 From: Chandan Maurya Date: Thu, 26 Feb 2026 10:04:00 +0530 Subject: [PATCH] Use localhost image reference in PodObservedGenerationTracking test The test uses an invalid image to induce a pull error. The previous image name 'some-image-that-doesnt-exist' causes slow DNS/registry resolution on some environments (especially metal), leading to 30s timeouts. Using 'localhost/some-image-that-does-not-exist' makes the pull fail instantly since there is no registry on localhost, avoiding flaky timeouts. --- test/e2e/node/pods.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/node/pods.go b/test/e2e/node/pods.go index de5039b1fea..b9ce844f246 100644 --- a/test/e2e/node/pods.go +++ b/test/e2e/node/pods.go @@ -695,7 +695,7 @@ var _ = SIGDescribe("Pods Extended (pod generation)", func() { // Set the pod image to something that doesn't exist to induce a pull error // to start with. agnImage := pod.Spec.Containers[0].Image - pod.Spec.Containers[0].Image = "some-image-that-doesnt-exist" + pod.Spec.Containers[0].Image = "localhost/some-image-that-doesnt-exist" ginkgo.By("submitting the pod to kubernetes") pod, err := f.ClientSet.CoreV1().Pods(f.Namespace.Name).Create(ctx, pod, metav1.CreateOptions{})