From 099f181fc491667d97152894fe92a58118ed296d Mon Sep 17 00:00:00 2001 From: Satoshi Konno Date: Thu, 8 Aug 2024 18:07:17 +0900 Subject: [PATCH] Update tests::controller() --- src/controller_test.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/controller_test.rs b/src/controller_test.rs index 922a1b2b..6a2d53f1 100644 --- a/src/controller_test.rs +++ b/src/controller_test.rs @@ -17,20 +17,15 @@ mod tests { use crate::controller::*; use crate::log::Logger; - use std::{thread, time}; #[test] fn controller() { Logger::init(); { - let slp = time::Duration::from_secs(1); let mut ctrl = Controller::new(); assert!(ctrl.start()); - thread::sleep(slp); assert!(ctrl.search()); - thread::sleep(slp); assert!(ctrl.stop()); - thread::sleep(slp); } } }