diff --git a/io/zenoh-transport/src/unicast/establishment/ext/auth/usrpwd.rs b/io/zenoh-transport/src/unicast/establishment/ext/auth/usrpwd.rs index 4787020958..e4fdd2b527 100644 --- a/io/zenoh-transport/src/unicast/establishment/ext/auth/usrpwd.rs +++ b/io/zenoh-transport/src/unicast/establishment/ext/auth/usrpwd.rs @@ -498,6 +498,9 @@ mod tests { let _ = std::fs::remove_file(f1); } - async_std::task::block_on(inner()); + async_std::task::block_on(async { + zasync_executor_init!(); + inner().await; + }); } }