-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cartridge: increase bootstrap attempts
We have flaky tests with Cartridge on MacOS. It looks like not enough attempts are being made to bootstrap the vshard application. This patch doubles the number of attempts. Closes #728
- Loading branch information
1 parent
9a1d317
commit 33d9233
Showing
2 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
cli/cartridge/extra/008_increase_replicasets_bootstrap_attempts.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/cli/replicasets/setup.go b/cli/replicasets/setup.go | ||
index 225dc36..b8c0a46 100644 | ||
--- a/cli/replicasets/setup.go | ||
+++ b/cli/replicasets/setup.go | ||
@@ -99,7 +99,7 @@ func Setup(ctx *context.Ctx, args []string) error { | ||
|
||
retryOpts := []retry.Option{ | ||
retry.MaxDelay(1 * time.Second), | ||
- retry.Attempts(5), | ||
+ retry.Attempts(10), | ||
retry.LastErrorOnly(true), | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters