Merge pull request #128851 from pacoxu/fix-master-blocking

skip if cri proxy is disabled/undefined
This commit is contained in:
Kubernetes Prow Robot 2024-11-19 14:30:56 +00:00 committed by GitHub
commit c9092f69fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 {