|
99 | 99 | uses: ./.github/actions/post-cache
|
100 | 100 |
|
101 | 101 |
|
| 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 | + |
102 | 134 | check-determinism:
|
103 | 135 | needs: [build-new-node]
|
104 | 136 | name: Verify runtime build determinism
|
@@ -658,6 +690,42 @@ jobs:
|
658 | 690 | # run: |
|
659 | 691 | # ./scripts/catchup_version_upgrade_test.sh
|
660 | 692 |
|
| 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 | + |
661 | 729 | check-e2e-test-suite-completion:
|
662 | 730 | needs: [
|
663 | 731 | run-e2e-finalization-test,
|
@@ -687,6 +755,8 @@ jobs:
|
687 | 755 | run-e2e-adder-contract-test,
|
688 | 756 | # run-e2e-failing-version-upgrade,
|
689 | 757 | # run-e2e-version-upgrade-catchup,
|
| 758 | + run-e2e-high-out-latency, |
| 759 | + no_quorum_without_high_out_latency, |
690 | 760 | ]
|
691 | 761 | name: Check e2e test suite completion
|
692 | 762 | runs-on: ubuntu-20.04
|
|
0 commit comments