From e36c1087050057e9f7ac90d33dddaa03f918bd81 Mon Sep 17 00:00:00 2001 From: Marcin Date: Tue, 22 Aug 2023 11:25:51 +0200 Subject: [PATCH] A0-2902: Fix for nightly pipeline tests (#1363) # Description * bugfix for defect introduced in https://github.com/Cardinal-Cryptography/aleph-node/pull/1356 that e2e client is not build for one nightly pipeline workflow * increase timeout from 5 to 10 minutes for sync catchup test ## Type of change Please delete options that are not relevant. - Bug fix (non-breaking change which fixes an issue --- ...rk-e2e-tests.yml => nightly-normal-session-e2e-tests.yml} | 5 +++-- ...gic-e2e-tests.yml => nightly-short-session-e2e-tests.yml} | 2 +- local-tests/test_major_sync.py | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) rename .github/workflows/{nightly-synthetic-network-e2e-tests.yml => nightly-normal-session-e2e-tests.yml} (97%) rename .github/workflows/{nightly-logic-e2e-tests.yml => nightly-short-session-e2e-tests.yml} (99%) diff --git a/.github/workflows/nightly-synthetic-network-e2e-tests.yml b/.github/workflows/nightly-normal-session-e2e-tests.yml similarity index 97% rename from .github/workflows/nightly-synthetic-network-e2e-tests.yml rename to .github/workflows/nightly-normal-session-e2e-tests.yml index 43a8482942..1599ec40a3 100644 --- a/.github/workflows/nightly-synthetic-network-e2e-tests.yml +++ b/.github/workflows/nightly-normal-session-e2e-tests.yml @@ -1,5 +1,5 @@ --- -name: E2E synthetic network tests (Nightly pipeline) +name: Nightly pipeline normal session e2e tests on: workflow_dispatch: @@ -45,6 +45,7 @@ jobs: with: build-production-node: true build-synthetic-network-docker: true + build-e2e-client: true run-e2e-high-out-latency: needs: [build-production-node-and-e2e-client-image] @@ -78,7 +79,7 @@ jobs: path: target/release/ - name: Run test - timeout-minutes: 130 + timeout-minutes: 15 env: ALEPH_NODE_BINARY: ../target/release/aleph-node run: ./.github/scripts/test_major_sync.sh diff --git a/.github/workflows/nightly-logic-e2e-tests.yml b/.github/workflows/nightly-short-session-e2e-tests.yml similarity index 99% rename from .github/workflows/nightly-logic-e2e-tests.yml rename to .github/workflows/nightly-short-session-e2e-tests.yml index 1a11463e7a..58fb2db88b 100644 --- a/.github/workflows/nightly-logic-e2e-tests.yml +++ b/.github/workflows/nightly-short-session-e2e-tests.yml @@ -1,5 +1,5 @@ --- -name: E2E logic tests (Nightly pipeline) +name: Nightly pipeline short session e2e tests on: workflow_dispatch: schedule: diff --git a/local-tests/test_major_sync.py b/local-tests/test_major_sync.py index 233444babb..c87d18a7dd 100755 --- a/local-tests/test_major_sync.py +++ b/local-tests/test_major_sync.py @@ -42,8 +42,8 @@ def printt(s): print(ctime() + ' | ' + s) sleep(60) chain.start('aleph', nodes=[4]) -printt('Waiting around 5 mins') -sleep(5 * 60) +printt('Waiting around 10 mins') +sleep(10 * 60) finalized = check_finalized(chain)