Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
agouin committed Nov 15, 2023
1 parent dd12fcb commit 8bff51a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions signer/threshold_validator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,8 @@ func testThresholdValidatorLeaderElection(t *testing.T, threshold, total uint8)
for _, tv := range thresholdValidators {
tv := tv

tv.nonceCache.LoadN(ctx, 1)

go func() {
defer wg.Done()
// stagger signing requests with random sleep
Expand Down Expand Up @@ -478,6 +480,8 @@ func testThresholdValidatorLeaderElection(t *testing.T, threshold, total uint8)
for _, tv := range thresholdValidators {
tv := tv

tv.nonceCache.LoadN(ctx, 1)

go func() {
defer wg.Done()
// stagger signing requests with random sleep
Expand Down Expand Up @@ -518,6 +522,8 @@ func testThresholdValidatorLeaderElection(t *testing.T, threshold, total uint8)
for _, tv := range thresholdValidators {
tv := tv

tv.nonceCache.LoadN(ctx, 1)

go func() {
defer wg.Done()
// stagger signing requests with random sleep
Expand Down

0 comments on commit 8bff51a

Please sign in to comment.