Skip to content

Commit

Permalink
Move performance e2e test to pr pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
mike1729 committed Jan 30, 2025
1 parent 36689ac commit da38e88
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 46 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/_run-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -694,3 +694,35 @@ jobs:
artifact-aleph-e2e-client-image: ${{ inputs.artifact-aleph-e2e-client-image }}
artifact-aleph-node-image: ${{ inputs.artifact-aleph-node-image }}
artifact-chain-bootstrapper-image: ${{ inputs.artifact-chain-bootstrapper-image }}

run-e2e-all-validators-have-ideal-performance:
name: Run all validators have ideal performance test.
needs: [run-e2e-finalization-test]
runs-on: ubuntu-20.04
steps:
- name: Checkout source code
uses: actions/checkout@v4

- name: Run e2e test
uses: ./.github/actions/run-e2e-test
with:
test-case: all_validators_have_ideal_performance
artifact-aleph-e2e-client-image: ${{ inputs.artifact-aleph-e2e-client-image }}
artifact-aleph-node-image: ${{ inputs.artifact-aleph-node-image }}
artifact-chain-bootstrapper-image: ${{ inputs.artifact-chain-bootstrapper-image }}

run-e2e-one-validator-is-dead:
name: Run one validator is dead performance test
needs: [run-e2e-finalization-test]
runs-on: ubuntu-20.04
steps:
- name: Checkout source code
uses: actions/checkout@v4

- name: Run e2e test
uses: ./.github/actions/run-e2e-test
with:
test-case: one_validator_is_dead
artifact-aleph-e2e-client-image: ${{ inputs.artifact-aleph-e2e-client-image }}
artifact-aleph-node-image: ${{ inputs.artifact-aleph-node-image }}
artifact-chain-bootstrapper-image: ${{ inputs.artifact-chain-bootstrapper-image }}
46 changes: 0 additions & 46 deletions .github/workflows/nightly-normal-session-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -371,52 +371,6 @@ jobs:
artifact-aleph-e2e-client-image: ${{ needs.build-aleph-e2e-client-image.outputs.artifact-name-image }}
timeout-minutes: 35

run-e2e-all-validators-have-ideal-performance:
needs:
- build-production-aleph-node
- build-aleph-e2e-client-image
- build-chain-bootstrapper-production
name: All validators have ideal abft performance
runs-on: ubuntu-20.04
steps:
- name: Checkout source code
uses: actions/checkout@v4

- name: Run e2e test
uses: ./.github/actions/run-e2e-test
with:
test-case: all_validators_have_ideal_performance
# yamllint disable-line rule:line-length
artifact-aleph-node-image: ${{ needs.build-production-aleph-node.outputs.artifact-name-image }}
# yamllint disable-line rule:line-length
artifact-chain-bootstrapper-image: ${{ needs.build-chain-bootstrapper-production.outputs.artifact-name-image }}
# yamllint disable-line rule:line-length
artifact-aleph-e2e-client-image: ${{ needs.build-aleph-e2e-client-image.outputs.artifact-name-image }}
timeout-minutes: 35

run-e2e-one-validator-is-dead:
needs:
- build-production-aleph-node
- build-aleph-e2e-client-image
- build-chain-bootstrapper-production
name: All validators except one have ideal abft performance
runs-on: ubuntu-20.04
steps:
- name: Checkout source code
uses: actions/checkout@v4

- name: Run e2e test
uses: ./.github/actions/run-e2e-test
with:
test-case: one_validator_is_dead
# yamllint disable-line rule:line-length
artifact-aleph-node-image: ${{ needs.build-production-aleph-node.outputs.artifact-name-image }}
# yamllint disable-line rule:line-length
artifact-chain-bootstrapper-image: ${{ needs.build-chain-bootstrapper-production.outputs.artifact-name-image }}
# yamllint disable-line rule:line-length
artifact-aleph-e2e-client-image: ${{ needs.build-aleph-e2e-client-image.outputs.artifact-name-image }}
timeout-minutes: 35

check-nightly-pipeline-completion:
needs: [run-e2e-high-out-latency,
run-e2e-sync-test-one_node_catching_up_and_then_becoming_necessary_for_consensus,
Expand Down

0 comments on commit da38e88

Please sign in to comment.