Skip to content

Commit 8eb1410

Browse files
committed
REVERT ME testing nightly pipeline
1 parent 10739fc commit 8eb1410

File tree

1 file changed

+70
-0
lines changed

1 file changed

+70
-0
lines changed

.github/workflows/e2e-tests-main-devnet.yml

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,38 @@ jobs:
9999
uses: ./.github/actions/post-cache
100100

101101

102+
build-synthetic-network-docker:
103+
needs: [build-test-docker]
104+
name: Build docker image with the test node artifact and support for synthetic-network
105+
runs-on: ubuntu-20.04
106+
steps:
107+
- name: Checkout source code
108+
uses: actions/checkout@v2
109+
110+
- name: Download artifact with docker image for aleph-node
111+
uses: actions/download-artifact@v2
112+
with:
113+
name: aleph-test-docker
114+
115+
- name: Load node docker image
116+
shell: bash
117+
run: docker load -i aleph-node.tar
118+
119+
- name: Build test docker image
120+
id: build-image
121+
run: |
122+
scripts/synthetic-network/build_synthetic-network.sh
123+
docker save -o aleph-node.tar aleph-node:syntheticnet
124+
125+
- name: Upload test docker image
126+
uses: actions/upload-artifact@v2
127+
with:
128+
name: aleph-test-synthetic-docker
129+
path: aleph-node.tar
130+
if-no-files-found: error
131+
retention-days: 7
132+
133+
102134
check-determinism:
103135
needs: [build-new-node]
104136
name: Verify runtime build determinism
@@ -658,6 +690,42 @@ jobs:
658690
# run: |
659691
# ./scripts/catchup_version_upgrade_test.sh
660692

693+
694+
run-e2e-high-out-latency:
695+
needs: [build-synthetic-network-docker, build-test-client]
696+
name: Run high out-latency test
697+
runs-on: ubuntu-20.04
698+
steps:
699+
- name: Checkout source code
700+
uses: actions/checkout@v2
701+
702+
- name: Run e2e test
703+
uses: ./.github/actions/run-e2e-test
704+
with:
705+
test-case: high_out_latency
706+
image-path: aleph-test-synthetic-docker
707+
node-image: aleph-node:syntheticnet
708+
compose-file: docker/docker-compose.synthetic-network.yml
709+
timeout-minutes: 30
710+
711+
no_quorum_without_high_out_latency:
712+
needs: [build-synthetic-network-docker, build-test-client]
713+
name: Run high out-latency for every quorum
714+
runs-on: ubuntu-20.04
715+
steps:
716+
- name: Checkout source code
717+
uses: actions/checkout@v2
718+
719+
- name: Run e2e test
720+
uses: ./.github/actions/run-e2e-test
721+
with:
722+
test-case: no_quorum_without_high_out_latency
723+
image-path: aleph-test-synthetic-docker
724+
node-image: aleph-node:syntheticnet
725+
compose-file: docker/docker-compose.synthetic-network.yml
726+
timeout-minutes: 15
727+
728+
661729
check-e2e-test-suite-completion:
662730
needs: [
663731
run-e2e-finalization-test,
@@ -687,6 +755,8 @@ jobs:
687755
run-e2e-adder-contract-test,
688756
# run-e2e-failing-version-upgrade,
689757
# run-e2e-version-upgrade-catchup,
758+
run-e2e-high-out-latency,
759+
no_quorum_without_high_out_latency,
690760
]
691761
name: Check e2e test suite completion
692762
runs-on: ubuntu-20.04

0 commit comments

Comments
 (0)