mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-04 12:13:57 +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:
@@ -91,7 +91,7 @@ func WALWithNBlocks(numBlocks int) (data []byte, err error) {
|
||||
case <-numBlocksWritten:
|
||||
wr.Flush()
|
||||
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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user