Browse Source

Merge pull request #962 from tendermint/wait-a-little-longet-on-ci

wait 5 sec for a block on CircleCI
pull/968/head
Ethan Buchman 7 years ago
committed by GitHub
parent
commit
c127bce73b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      consensus/wal_generator.go

+ 1
- 1
consensus/wal_generator.go View File

@ -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)
}
}


Loading…
Cancel
Save