diff --git a/signer/threshold_validator_test.go b/signer/threshold_validator_test.go index 0aac7241..5d979b02 100644 --- a/signer/threshold_validator_test.go +++ b/signer/threshold_validator_test.go @@ -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 @@ -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 @@ -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