From 5e4575695d51f4ce8a6f390d9a2cdb80a1f89295 Mon Sep 17 00:00:00 2001 From: William Banfield Date: Wed, 11 May 2022 23:04:59 -0400 Subject: [PATCH] test comple: still needs comment --- internal/consensus/state_test.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/internal/consensus/state_test.go b/internal/consensus/state_test.go index be1522cbf..fd01dad35 100644 --- a/internal/consensus/state_test.go +++ b/internal/consensus/state_test.go @@ -2353,12 +2353,11 @@ func TestVoteExtensionRequiredHeight(t *testing.T) { if testCase.expectSuccessfulRound { ensurePrecommit(t, voteCh, height, round) height++ + ensureNewRound(t, newRoundCh, height, round) } else { - ensureNewTimeout(t, timeoutCh, height, round, cs1.state.ConsensusParams.Timeout.VoteTimeout(round).Nanoseconds()) - round++ + ensureNoNewTimeout(t, timeoutCh, cs1.state.ConsensusParams.Timeout.VoteTimeout(round).Nanoseconds()) } - ensureNewRound(t, newRoundCh, height, round) m.AssertExpectations(t) }) }