Skip to content

Commit

Permalink
Merge pull request #3790 from k8s-infra-cherrypick-robot/cherry-pick-…
Browse files Browse the repository at this point in the history
…3789-to-release-1.10

[release-1.10] Fix retrying in Helm e2e helper func
  • Loading branch information
k8s-ci-robot authored Aug 1, 2023
2 parents b14a7cc + 3f1dd4e commit 1703661
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/helm.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ func InstallHelmChart(ctx context.Context, clusterProxy framework.ClusterProxy,
}

// Install the chart and retry if needed
Eventually(func(g Gomega) {
Eventually(func() error {
cmd := exec.Command(helm, args...)
Logf("Helm command: %s", cmd.String())
output, err := cmd.CombinedOutput()
Logf("Helm install output: %s", string(output))
Expect(err).NotTo(HaveOccurred())
return err
}, helmInstallTimeout, retryableOperationSleepBetweenRetries).Should(Succeed())
}

0 comments on commit 1703661

Please sign in to comment.