Skip to content

Commit

Permalink
Merge pull request #3789 from mboersma/helm-are-you-even-retrying
Browse files Browse the repository at this point in the history
Fix retrying in Helm e2e helper func
  • Loading branch information
k8s-ci-robot authored Aug 1, 2023
2 parents 05c4341 + 245f216 commit 7e8c80b
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 7e8c80b

Please sign in to comment.