mirror of
https://github.com/tendermint/tendermint.git
synced 2026-08-25 00:26:29 +00:00
try different values
This commit is contained in:
@@ -329,11 +329,11 @@ func TestReactorTerminationScenarios(t *testing.T) {
|
||||
reactor.processor.send(rProcessBlock{})
|
||||
}
|
||||
// give time for messages to propagate between routines
|
||||
time.Sleep(3 * time.Millisecond)
|
||||
time.Sleep(10 * time.Millisecond)
|
||||
}
|
||||
|
||||
// time for processor to finish and reactor to switch to consensus
|
||||
time.Sleep(20 * time.Millisecond)
|
||||
time.Sleep(40 * time.Millisecond)
|
||||
assert.True(t, mockSwitch.hasSwitchedToConsensus())
|
||||
reactor.Stop()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user