Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote call rate #51

Merged
merged 26 commits into from
Jun 18, 2024
Merged
Show file tree
Hide file tree
Changes from 25 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
de4ff4c
Remote call rate
ThetaSinner Jun 6, 2024
f4e82ef
Progress testing against multiple nodes
ThetaSinner Jun 13, 2024
69afccb
Format
ThetaSinner Jun 13, 2024
e269111
Update versions, add missing admin calls for trycp and add more test …
ThetaSinner Jun 13, 2024
6671af6
Fix the test
ThetaSinner Jun 13, 2024
d6a0ef9
Tidy
ThetaSinner Jun 13, 2024
9e563f5
Update CI job
ThetaSinner Jun 13, 2024
c2efc6a
Update to released versions
ThetaSinner Jun 14, 2024
65e0cd5
Fix workspace build
ThetaSinner Jun 14, 2024
3ecfaa4
Fix linting
ThetaSinner Jun 14, 2024
c6b61b8
Match renamed scenario
ThetaSinner Jun 14, 2024
5e71784
Make yaml include more specific
ThetaSinner Jun 14, 2024
73edb7b
Add dashboard
ThetaSinner Jun 14, 2024
4bdad42
Make min peers configurable
ThetaSinner Jun 14, 2024
2d82cac
Extract common functionality
ThetaSinner Jun 14, 2024
463a99c
More common functionality and apply in scenario
ThetaSinner Jun 14, 2024
041a5da
Tidy scenario
ThetaSinner Jun 14, 2024
dd9cb8b
Run for longer on CI
ThetaSinner Jun 14, 2024
947c6cc
Run teardown when setup is cancelled
ThetaSinner Jun 14, 2024
5c6062a
Format
ThetaSinner Jun 14, 2024
88382e6
Remove process kills for processes that won't exist with trycp
ThetaSinner Jun 17, 2024
0efebe5
Shuffle peers to call
ThetaSinner Jun 17, 2024
306902c
Remove data after tests by default
ThetaSinner Jun 17, 2024
8023546
Rename agent_id to agent_name
ThetaSinner Jun 17, 2024
ac3428d
Cleanup before disconnecting
ThetaSinner Jun 17, 2024
4eccc65
Shutdown once
ThetaSinner Jun 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -159,22 +159,17 @@ jobs:

pkill --echo hc && pkill --echo holochain && pkill --echo lair-keystore

- name: Smoke test - remote_call
- name: Smoke test - remote_call_rate
run: |
# Start a sandbox conductor and run it in the background
nix develop -c bash -c "hc s clean && echo "1234" | hc s --piped create && echo "1234" | hc s --piped -f 8888 run &"

# Start a TryCP instance
nix develop -c bash -c "source ./scripts/trycp.sh && start_trycp"

# Run the scenario for 5 seconds
RUST_LOG=info nix run .#remote_call -- --targets targets-ci.yaml --duration 5 --no-progress
# Run the scenario for 30 seconds
RUST_LOG=info nix run .#remote_call_rate -- --targets targets-ci.yaml --instances-per-target 2 --duration 30 --no-progress

# Stop the TryCP instance
nix develop -c bash -c "source ./scripts/trycp.sh && stop_trycp"

pkill --echo hc && pkill --echo holochain && pkill --echo lair-keystore

- name: Build scenario bundles
run: |
set -euxo pipefail
Expand Down
Loading
Loading