Skip to content

Commit

Permalink
A0-2902: Fix for nightly pipeline tests (#1363)
Browse files Browse the repository at this point in the history
# Description

* bugfix for defect introduced in
#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
  • Loading branch information
Marcin-Radecki authored Aug 22, 2023
1 parent b1a94a7 commit e36c108
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: E2E synthetic network tests (Nightly pipeline)
name: Nightly pipeline normal session e2e tests

on:
workflow_dispatch:
Expand Down Expand Up @@ -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]
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: E2E logic tests (Nightly pipeline)
name: Nightly pipeline short session e2e tests
on:
workflow_dispatch:
schedule:
Expand Down
4 changes: 2 additions & 2 deletions local-tests/test_major_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit e36c108

Please sign in to comment.