MCPcopy Create free account
hub / github.com/base/base / run_progress

Function run_progress

acceptance/src/check.rs:1046–1059  ·  view source on GitHub ↗
(script: Vec<Reply>, timeout: Duration)

Source from the content-addressed store, hash-verified

1044 }
1045
1046 async fn run_progress(script: Vec<Reply>, timeout: Duration) -> crate::CheckResult {
1047 let url = server(script).await;
1048 let mut samples = Vec::new();
1049 observer()
1050 .run(
1051 &progress(timeout, 1),
1052 0,
1053 &BTreeMap::from([("rpc".into(), url)]),
1054 &mut samples,
1055 Instant::now(),
1056 Instant::now() + RPC_BUDGET,
1057 )
1058 .await
1059 }
1060
1061 #[tokio::test]
1062 async fn convergence_compares_common_height_and_accepts_lag() {

Calls 5

observerFunction · 0.85
progressFunction · 0.85
serverFunction · 0.70
newFunction · 0.50
runMethod · 0.45

Tested by

no test coverage detected