Skip to content

Commit

Permalink
add smoke test for trycp_write_validated
Browse files Browse the repository at this point in the history
  • Loading branch information
neonphog committed Aug 20, 2024
1 parent 4a21b94 commit be6b6ef
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,23 @@ jobs:
pkill --echo hc && pkill --echo holochain && pkill --echo lair-keystore
- name: Smoke test - trycp_write_validated
run: |
set -x
# Start local network services
nix develop .#ci -c bash -c "hc-run-local-services --bootstrap-port 4422 --signal-port 4423 &"
# Start a TryCP instance
nix develop .#ci -c bash -c "source ./scripts/trycp.sh && start_trycp &"
# Run the scenario for 10 seconds
RUST_LOG=warn CONDUCTOR_CONFIG="CI" MIN_PEERS=2 nix run .#trycp_write_validated -- --targets targets-ci.yaml --instances-per-target 2 --duration 10 --no-progress
# Stop the TryCP instance
nix develop .#ci -c bash -c "source ./scripts/trycp.sh && stop_trycp"
# Stop local network services
pkill --echo hc-run-local
- name: Smoke test - remote_call_rate
run: |
set -x
Expand Down

0 comments on commit be6b6ef

Please sign in to comment.