diff --git a/src/rest_api_test.rs b/src/rest_api_test.rs index 06a3c21..cb86f2e 100644 --- a/src/rest_api_test.rs +++ b/src/rest_api_test.rs @@ -24,7 +24,7 @@ lazy_static! { let hdl = Arc::new(Mutex::new(Some(thread::spawn(move || { task::block_on(start(&config.clone())).unwrap(); })))); - println!("Server thread spawned"); + // Have a nap to let the scheduler start the new thread thread::sleep(std::time::Duration::from_millis(5)); hdl };