Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
yzang2019 committed Nov 21, 2023
1 parent f989e29 commit a5ed99e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/consensus/state_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2482,7 +2482,7 @@ func TestWaitingTimeoutProposeOnNewRound(t *testing.T) {

round++ // moving to the next round
ensureNewRound(t, newRoundCh, height, round)

time.Sleep(1000 * time.Millisecond)
rs := cs1.GetRoundState()
assert.Equal(t, rs.Step, cstypes.RoundStepPropose) // P0 does not prevote before timeoutPropose expires

Expand Down

0 comments on commit a5ed99e

Please sign in to comment.