Skip to content

Commit

Permalink
chore(ci): add trycp_write_validated scenario
Browse files Browse the repository at this point in the history
  • Loading branch information
cdunster committed Sep 11, 2024
1 parent fca1e9c commit f1a66bd
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/performance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,20 @@ jobs:
RUST_LOG=info nix run .#write_validated -- --connection-string ws://localhost:8888 --duration 5 --no-progress --reporter influx-file
pkill hc && pkill holochain && pkill 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 --reporter influx-file
# Stop the TryCP instance
nix develop .#ci -c bash -c "source ./scripts/trycp.sh && stop_trycp"
# Stop local network services
pkill hc-run-local

0 comments on commit f1a66bd

Please sign in to comment.