Browse Source

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

pull/5515/head
Erik Grinaker 4 years ago
committed by GitHub
parent
commit
f0d4ddcf3c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 2 deletions
  1. +2
    -0
      .github/workflows/e2e-nightly.yml
  2. +2
    -1
      test/e2e/generator/generate.go
  3. +1
    -1
      test/e2e/runner/rpc.go

+ 2
- 0
.github/workflows/e2e-nightly.yml View File

@ -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: ''

+ 2
- 1
test/e2e/generator/generate.go 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}


+ 1
- 1
test/e2e/runner/rpc.go 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")
}


Loading…
Cancel
Save