Skip to content

Commit

Permalink
Merge pull request kubernetes#128851 from pacoxu/fix-master-blocking
Browse files Browse the repository at this point in the history
skip if cri proxy is disabled/undefined
  • Loading branch information
k8s-ci-robot authored Nov 19, 2024
2 parents 021dbe9 + 59dfb0e commit c9092f6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/e2e_node/image_pull_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit c9092f6

Please sign in to comment.