use std::thread; use std::time::Duration; #[tokio::test] async fn my_test() { tokio::join!(async move { super::server::run().await; }); }