Skip to content

Commit

Permalink
Do more attempts (almost 6 mins total)
Browse files Browse the repository at this point in the history
Signed-off-by: Sergei Lukianov <[email protected]>
  • Loading branch information
Frostman committed Dec 28, 2024
1 parent 135b17c commit cdbe9c1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pkg/fab/comp/kube.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func EnforceKubeInstall(ctx context.Context, kube client.Client, cfg fabapi.Fabr
var err error

backoff := wait.Backoff{
Steps: 10,
Steps: 17,
Duration: 500 * time.Millisecond,
Factor: 1.5,
Jitter: 0.1,
Expand Down
2 changes: 1 addition & 1 deletion pkg/fab/recipe/control_install.go
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ func (c *ControlInstall) installWiring(ctx context.Context, kube client.Client)
attempt := 0

if err := retry.OnError(wait.Backoff{
Steps: 10,
Steps: 17,
Duration: 500 * time.Millisecond,
Factor: 1.5,
Jitter: 0.1,
Expand Down
4 changes: 2 additions & 2 deletions pkg/fab/recipe/control_upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func (c *ControlUpgrade) Run(ctx context.Context) error {
}

backoff := wait.Backoff{
Steps: 10,
Steps: 17,
Duration: 500 * time.Millisecond,
Factor: 1.5,
Jitter: 0.1,
Expand Down Expand Up @@ -187,7 +187,7 @@ func (c *ControlUpgrade) uploadAirgap(ctx context.Context, username, password st
}

backoff := wait.Backoff{
Steps: 10,
Steps: 17,
Duration: 500 * time.Millisecond,
Factor: 1.5,
Jitter: 0.1,
Expand Down

0 comments on commit cdbe9c1

Please sign in to comment.