Browse Source

clarify an error

pull/8127/head
tycho garen 3 years ago
committed by M. J. Fromberger
parent
commit
c2d6c5b092
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      internal/consensus/state_test.go

+ 1
- 1
internal/consensus/state_test.go View File

@ -2100,7 +2100,7 @@ func TestWaitingTimeoutProposeOnNewRound(t *testing.T) {
ensureNewRound(t, newRoundCh, height, round) ensureNewRound(t, newRoundCh, height, round)
rs := cs1.GetRoundState() rs := cs1.GetRoundState()
assert.True(t, rs.Step == cstypes.RoundStepPropose) // P0 does not prevote before timeoutPropose expires
assert.Equal(t, rs.Step, cstypes.RoundStepPropose) // P0 does not prevote before timeoutPropose expires
ensureNewTimeout(t, timeoutWaitCh, height, round, cs1.config.Propose(round).Nanoseconds()) ensureNewTimeout(t, timeoutWaitCh, height, round, cs1.config.Propose(round).Nanoseconds())


Loading…
Cancel
Save