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
Changes from 1 commit
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
5 changes: 5 additions & 0 deletions scenarios/remote_call_rate/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,11 @@ fn agent_teardown(
) -> HookResult {
shutdown_remote(ctx)?;
disconnect_trycp_client(ctx)?;

// Best effort to remove data and cleanup.
// You should comment out this line if you want to examine the result of the scenario run!
let _ = reset_trycp_remote(ctx);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this work after we disconnect the trycp_client the line above?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely not :)


Ok(())
}

Expand Down