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 Erik Grinaker
parent 4e2e487c7a
commit 6473f0178c
3 changed files with 5 additions and 2 deletions

View File

@@ -29,7 +29,8 @@ var (
nodeABCIProtocols = uniformChoice{"unix", "tcp", "builtin"} // "grpc"
nodePrivvalProtocols = uniformChoice{"file", "unix", "tcp"}
// FIXME disabled v1 due to https://github.com/tendermint/tendermint/issues/5444
nodeFastSyncs = uniformChoice{"", "v0", "v2"} // "v1"
// FIXME disabled v2 due to https://github.com/tendermint/tendermint/issues/5513
nodeFastSyncs = uniformChoice{"", "v0"} // "v1", "v2"
nodeStateSyncs = uniformChoice{false, true}
nodePersistIntervals = uniformChoice{0, 1, 5}
nodeSnapshotIntervals = uniformChoice{0, 3}

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