make progress asap on full precommit votes optional (Refs #348)

This commit is contained in:
Anton Kalyaev
2017-01-04 01:50:02 +04:00
committed by Ethan Buchman
parent b096651e10
commit a1fd312bb1
4 changed files with 31 additions and 19 deletions

View File

@ -149,6 +149,12 @@ func TestValidatorSetChanges(t *testing.T) {
nPeers := 8
nVals := 4
css := randConsensusNetWithPeers(nVals, nPeers, "consensus_val_set_changes_test", newMockTickerFunc(true), newPersistentDummy)
// otherwise, the test is failing with timeout error
for i := 0; i < nPeers; i++ {
css[i].timeoutParams.SkipCommit0 = true
}
reactors := make([]*ConsensusReactor, nPeers)
eventChans := make([]chan interface{}, nPeers)
for i := 0; i < nPeers; i++ {