Skip to content

Commit

Permalink
fix: call forceproposer only once
Browse files Browse the repository at this point in the history
  • Loading branch information
Kynea0b committed May 6, 2021
1 parent cfa54bf commit 540e616
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions consensus/state_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1235,8 +1235,6 @@ func TestValidateValidBlockOnCommit(t *testing.T) {

partSize := types.BlockPartSizeBytes

forceProposer(cs1, vss, []int{0, 1, 2}, []int64{height, height, height}, []int32{round, round + 1, round + 2})

proposalCh := subscribe(cs1.eventBus, types.EventQueryCompleteProposal)
timeoutWaitCh := subscribe(cs1.eventBus, types.EventQueryTimeoutWait)
timeoutProposeCh := subscribe(cs1.eventBus, types.EventQueryTimeoutPropose)
Expand Down

0 comments on commit 540e616

Please sign in to comment.