Adapt tests for moved test data

This commit is contained in:
Dominik Werder
2022-02-17 12:55:34 +01:00
parent 264c4307b9
commit 47acaa68a0
14 changed files with 492 additions and 198 deletions

View File

@@ -7,13 +7,13 @@ use bytes::BytesMut;
use err::Error;
use std::future::Future;
fn run_test<F>(f: F)
fn run_test<F>(f: F) -> Result<(), Error>
where
F: Future<Output = Result<(), Error>> + Send,
{
let runtime = taskrun::get_runtime();
let _g = runtime.enter();
runtime.block_on(f).unwrap();
runtime.block_on(f)
//let jh = tokio::spawn(f);
//jh.await;
}