Skip to content

Commit

Permalink
make localnet run in background.
Browse files Browse the repository at this point in the history
  • Loading branch information
cristure committed Oct 24, 2024
1 parent 315e3b0 commit 39be1b4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/test-localnet-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
python3 -m multiversx_sdk_cli.cli localnet clean --configfile=./multiversx_sdk_cli/tests/testdata/localnet_with_resolution_remote.toml
python3 -m multiversx_sdk_cli.cli localnet config --configfile=./multiversx_sdk_cli/tests/testdata/localnet_with_resolution_remote.toml
python3 -m multiversx_sdk_cli.cli localnet start --configfile=./multiversx_sdk_cli/tests/testdata/localnet_with_resolution_remote.toml --stop-after-seconds=120
python3 -m multiversx_sdk_cli.cli localnet start --configfile=./multiversx_sdk_cli/tests/testdata/localnet_with_resolution_remote.toml &
if grep -r --include=\*.log "started committing block" ./localnet; then
echo "The localnet processed blocks successfully."
Expand All @@ -60,7 +60,5 @@ jobs:
- name: Test localnet dependent tests
run: |
netstat -tulpn
sleep 3m
curl -XGET http://127.0.0.1:7950/network/config
pytest -m require_localnet multiversx_sdk_cli/tests

0 comments on commit 39be1b4

Please sign in to comment.