test: tweak E2E tests for nightly runs (#5512)

This commit is contained in:
Erik Grinaker
2020-10-16 12:10:29 +02:00
committed by GitHub
parent 7ccee61557
commit f0d4ddcf3c
3 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ func waitForHeight(testnet *e2e.Testnet, height int64) (*types.Block, *types.Blo
if len(clients) == 0 {
return nil, nil, errors.New("unable to connect to any network nodes")
}
if time.Since(lastIncrease) >= 10*time.Second {
if time.Since(lastIncrease) >= 20*time.Second {
if maxResult == nil {
return nil, nil, errors.New("chain stalled at unknown height")
}