Skip to content

Commit

Permalink
fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
nawazkh committed Dec 11, 2024
1 parent 34aad67 commit f94674a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions test/e2e/azure_apiserver_ilb.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,12 @@ func AzureAPIServerILBSpec(ctx context.Context, inputGetter func() AzureAPIServe
err = workloadClusterClient.Create(ctx, nodeDebugDS)
Expect(err).NotTo(HaveOccurred())

backoff = wait.Backoff{
Duration: 100 * time.Second,
Factor: 0.5,
Jitter: 0.5,
Steps: 5,
}
retryDSFn := func(ctx context.Context) (bool, error) {
defer GinkgoRecover()

Expand Down Expand Up @@ -317,9 +323,8 @@ func AzureAPIServerILBSpec(ctx context.Context, inputGetter func() AzureAPIServe
scheme.ParameterCodec,
)

podExecOperationTimeout := 60 * time.Second
podExecOperationTimeout := 10 * time.Second
podExecOperationSleepBetweenRetries := 3 * time.Second

Eventually(func(g Gomega) {
exec, err := remotecommand.NewSPDYExecutor(workloadClusterKubeConfig, "POST", req.URL())
g.Expect(err).NotTo(HaveOccurred())
Expand Down

0 comments on commit f94674a

Please sign in to comment.