Skip to content

Commit

Permalink
chore: test
Browse files Browse the repository at this point in the history
Signed-off-by: nikolay <[email protected]>
  • Loading branch information
natanasow committed May 9, 2024
1 parent 7260352 commit 8581a29
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/migration-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,20 +49,22 @@ jobs:
run: npx hardhat run scripts/freeze-network-node.js
timeout-minutes: 5

- name: Stop docker containers
- name: Stop docker containers (network node)
run: cd node_modules/@hashgraph/hedera-local/ && docker stop network-node haveged
timeout-minutes: 5

- name: Stop docker containers
run: cd node_modules/@hashgraph/hedera-local/ && docker stop minio mirror-node-importer mirror-node-grpc mirror-node-monitor account-balances-uploader record-sidecar-uploader record-streams-uploader network-node haveged
- name: Stop docker containers (peripheral services)
run: cd node_modules/@hashgraph/hedera-local/ &&
docker stop minio mirror-node-importer mirror-node-grpc mirror-node-monitor account-balances-uploader record-sidecar-uploader record-streams-uploader
timeout-minutes: 5

- name: Delete docker volumes
run: cd node_modules/@hashgraph/hedera-local/ && docker rm --volumes minio mirror-node-importer mirror-node-grpc mirror-node-monitor account-balances-uploader record-sidecar-uploader record-streams-uploader
run: cd node_modules/@hashgraph/hedera-local/ &&
docker rm --volumes minio mirror-node-importer mirror-node-grpc mirror-node-monitor account-balances-uploader record-sidecar-uploader record-streams-uploader
timeout-minutes: 5

- name: Run the local node with 0.49.5
run: cd node_modules/@hashgraph/hedera-local/ && docker compose -f docker-compose-state-migration.yml up -d --remove-orphans
run: cd node_modules/@hashgraph/hedera-local/ && docker compose -f docker-compose-state-migration.yml up -d
timeout-minutes: 5

- name: Run @post-migration tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
version: nightly

- name: Start the local node
run: npx hedera start -d --network-tag=${{inputs.networkTag}} --mirror-tag=${{inputs.mirrorTag}} --relay-tag=${{inputs.relayTag}} --verbose=trace
run: npx hedera start -d --network-tag=0.49.6 --mirror-tag=${{inputs.mirrorTag}} --relay-tag=${{inputs.relayTag}} --verbose=trace
timeout-minutes: 5

- name: Run the test in ${{ inputs.testfilter }}
Expand Down

0 comments on commit 8581a29

Please sign in to comment.