diff --git a/test/e2e_node/image_pull_test.go b/test/e2e_node/image_pull_test.go index a80795f8f372c..83f35aac0740f 100644 --- a/test/e2e_node/image_pull_test.go +++ b/test/e2e_node/image_pull_test.go @@ -233,6 +233,10 @@ var _ = SIGDescribe("Pull Image", feature.CriProxy, framework.WithSerial(), func }) ginkgo.It("Image pull retry backs off on error.", func(ctx context.Context) { + if err := resetCRIProxyInjector(e2eCriProxy); err != nil { + ginkgo.Skip("Skip the test since the CRI Proxy is undefined.") + } + // inject PullImage failed to trigger backoff expectedErr := fmt.Errorf("PullImage failed") err := addCRIProxyInjector(e2eCriProxy, func(apiName string) error {