From 6473f0178cab139bbc1a4a28cf0fbd146a2db379 Mon Sep 17 00:00:00 2001 From: Erik Grinaker Date: Fri, 16 Oct 2020 12:10:29 +0200 Subject: [PATCH] test: tweak E2E tests for nightly runs (#5512) --- .github/workflows/e2e-nightly.yml | 2 ++ test/e2e/generator/generate.go | 3 ++- test/e2e/runner/rpc.go | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/e2e-nightly.yml b/.github/workflows/e2e-nightly.yml index 653b99827..7a060669b 100644 --- a/.github/workflows/e2e-nightly.yml +++ b/.github/workflows/e2e-nightly.yml @@ -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: '' diff --git a/test/e2e/generator/generate.go b/test/e2e/generator/generate.go index 0f8c79330..8581d6344 100644 --- a/test/e2e/generator/generate.go +++ b/test/e2e/generator/generate.go @@ -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} diff --git a/test/e2e/runner/rpc.go b/test/e2e/runner/rpc.go index 82b1a8ec5..c50ab6542 100644 --- a/test/e2e/runner/rpc.go +++ b/test/e2e/runner/rpc.go @@ -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") }