tests: extend assertion time
This commit is contained in:
parent
fb4b88eea9
commit
627a4ca5c1
|
@ -115,8 +115,8 @@ var _ = Describe("Dynamic validators addition/removal testing", func() {
|
|||
removalCandidates := blockchain.Validators()[:numOfCandidates]
|
||||
processingTime := time.Duration(math.Pow(2, float64(len(removalCandidates)))*7) * time.Second
|
||||
Expect(blockchain.RemoveValidators(removalCandidates, processingTime)).Should(BeNil())
|
||||
By("Ensure that consensus is working in 10 seconds", func() {
|
||||
Expect(blockchain.EnsureConsensusWorking(blockchain.Validators(), 10*time.Second)).Should(BeNil())
|
||||
By("Ensure that consensus is working in 20 seconds", func() {
|
||||
Expect(blockchain.EnsureConsensusWorking(blockchain.Validators(), 20*time.Second)).Should(BeNil())
|
||||
})
|
||||
|
||||
for _, v := range blockchain.Validators() {
|
||||
|
|
Loading…
Reference in New Issue