mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-08 22:23:11 +00:00
test: tweak E2E tests for nightly runs (#5512)
This commit is contained in:
2
.github/workflows/e2e-nightly.yml
vendored
2
.github/workflows/e2e-nightly.yml
vendored
@@ -25,6 +25,7 @@ jobs:
|
||||
|
||||
- name: Generate testnets
|
||||
working-directory: test/e2e
|
||||
# When changing -g, also change the matrix groups above
|
||||
run: ./build/generator -g 4 -d networks/nightly
|
||||
|
||||
- name: Run testnets in group ${{ matrix.group }}
|
||||
@@ -38,6 +39,7 @@ jobs:
|
||||
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
|
||||
SLACK_CHANNEL: tendermint-internal
|
||||
SLACK_USERNAME: Nightly E2E Test Failure
|
||||
SLACK_ICON_EMOJI: ':skull:'
|
||||
SLACK_COLOR: danger
|
||||
SLACK_MESSAGE: Nightly E2E test failed (group ${{ matrix.group }})
|
||||
SLACK_FOOTER: ''
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user