mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-25 06:42:16 +00:00
wait 5 sec for a block on CircleCI
Fixes: ``` --- FAIL: TestHandshakeReplaySome (12.40s) replay_test.go:332: waited too long for tendermint to produce 6 blocks ```
This commit is contained in:
parent
5c58db3bb4
commit
b2385b46cf
@ -91,7 +91,7 @@ func WALWithNBlocks(numBlocks int) (data []byte, err error) {
|
|||||||
case <-numBlocksWritten:
|
case <-numBlocksWritten:
|
||||||
wr.Flush()
|
wr.Flush()
|
||||||
return b.Bytes(), nil
|
return b.Bytes(), nil
|
||||||
case <-time.After(time.Duration(2*numBlocks) * time.Second):
|
case <-time.After(time.Duration(5*numBlocks) * time.Second):
|
||||||
return b.Bytes(), fmt.Errorf("waited too long for tendermint to produce %d blocks", numBlocks)
|
return b.Bytes(), fmt.Errorf("waited too long for tendermint to produce %d blocks", numBlocks)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user