fix failed test case

This commit is contained in:
wireless4024 2023-02-12 11:16:23 +07:00
parent a39b90679b
commit 20c66f89ad
No known key found for this signature in database
GPG Key ID: D102C2A868192A39
1 changed files with 4 additions and 0 deletions

View File

@ -93,6 +93,10 @@ fn non_static_block_on() {
assert_eq!("test_str", string);
});
// this drop is required for tokio_uring because it initialize io_uring driver twice!
#[cfg(feature = "io-uring")]
drop(sys);
let rt = actix_rt::Runtime::new().unwrap();
rt.block_on(async {