More time tweaks

This commit is contained in:
Anca Zamfir
2022-01-10 13:49:00 +01:00
parent 484cd2845d
commit d4dddc7874
2 changed files with 2 additions and 3 deletions

View File

@@ -436,7 +436,7 @@ func TestTimelyProposal(t *testing.T) {
},
timeoutPropose: 40 * time.Millisecond,
genesisTime: initialTime,
height2ProposedBlockTime: initialTime.Add(5 * time.Millisecond),
height2ProposedBlockTime: initialTime.Add(15 * time.Millisecond),
height2ProposalDeliverTime: initialTime.Add(30 * time.Millisecond),
}
@@ -455,7 +455,7 @@ func TestTooFarInThePastProposal(t *testing.T) {
cfg := pbtsTestConfiguration{
timingParams: types.TimingParams{
Precision: 1 * time.Millisecond,
MessageDelay: 10 * time.Millisecond,
MessageDelay: 1 * time.Millisecond,
},
timeoutPropose: 50 * time.Millisecond,
genesisTime: initialTime,

View File

@@ -9,7 +9,6 @@ import (
"github.com/gogo/protobuf/proto"
gogotypes "github.com/gogo/protobuf/types"
"github.com/tendermint/tendermint/crypto"
"github.com/tendermint/tendermint/crypto/merkle"
"github.com/tendermint/tendermint/crypto/tmhash"