Count edge events

This commit is contained in:
Dominik Werder
2021-09-03 21:57:05 +02:00
parent d9fe5259bd
commit 0a05082da8
22 changed files with 544 additions and 175 deletions

View File

@@ -9,10 +9,14 @@ use std::future::Future;
fn run_test<F>(f: F)
where
F: Future<Output = Result<(), Error>>,
F: Future<Output = Result<(), Error>> + Send,
{
std::env::set_current_dir("..").unwrap();
taskrun::run(f).unwrap();
//taskrun::run(f).unwrap();
let runtime = taskrun::get_runtime();
let _g = runtime.enter();
runtime.block_on(f).unwrap();
//let jh = tokio::spawn(f);
//jh.await;
}
#[test]