Skip to content

Commit

Permalink
deflake a test
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenlanders committed Jan 2, 2024
1 parent 3862d3e commit db60250
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/consensus/reactor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,7 @@ func TestReactorVotingPowerChange(t *testing.T) {
func() bool {
return previousTotalVotingPower != states[0].GetRoundState().LastValidators.TotalVotingPower()
},
5*time.Second,
15*time.Second,
300*time.Millisecond,
"expected voting power to change (before: %d, after: %d)",
previousTotalVotingPower,
Expand All @@ -875,7 +875,7 @@ func TestReactorVotingPowerChange(t *testing.T) {
func() bool {
return previousTotalVotingPower != states[0].GetRoundState().LastValidators.TotalVotingPower()
},
5*time.Second,
15*time.Second,
300*time.Millisecond,
"expected voting power to change (before: %d, after: %d)",
previousTotalVotingPower,
Expand All @@ -895,7 +895,7 @@ func TestReactorVotingPowerChange(t *testing.T) {
func() bool {
return previousTotalVotingPower != states[0].GetRoundState().LastValidators.TotalVotingPower()
},
5*time.Second,
15*time.Second,
300*time.Millisecond,
"expected voting power to change (before: %d, after: %d)",
previousTotalVotingPower,
Expand Down

0 comments on commit db60250

Please sign in to comment.