revert making validator set smaller

This commit is contained in:
William Banfield
2022-01-25 19:28:43 -05:00
parent 4d981d25aa
commit 5335ee1358
2 changed files with 4 additions and 4 deletions

View File

@@ -712,8 +712,8 @@ func TestReactorValidatorSetChanges(t *testing.T) {
cfg := configSetup(t)
nPeers := 4
nVals := 1
nPeers := 7
nVals := 4
states, _, _, cleanup := randConsensusNetWithPeers(
ctx,
t,
@@ -726,7 +726,7 @@ func TestReactorValidatorSetChanges(t *testing.T) {
)
t.Cleanup(cleanup)
rts := setup(ctx, t, nPeers, states, 1000) // buffer must be large enough to not deadlock
rts := setup(ctx, t, nPeers, states, 100) // buffer must be large enough to not deadlock
for _, reactor := range rts.reactors {
state := reactor.state.GetState()

View File

@@ -130,7 +130,7 @@ func DefaultSynchronyParams() SynchronyParams {
// https://github.com/tendermint/tendermint/issues/7202
return SynchronyParams{
Precision: 50 * time.Millisecond,
MessageDelay: 3 * time.Second,
MessageDelay: 2 * time.Second,
}
}