mirror of https://github.com/fafhrd91/actix-net
remove cfg attribute
This commit is contained in:
parent
a8a5c8b489
commit
9da557f61d
|
@ -437,7 +437,6 @@ async fn test_service_restart() {
|
|||
let _ = h.join().unwrap();
|
||||
}
|
||||
|
||||
#[cfg(unix)]
|
||||
#[actix_rt::test]
|
||||
async fn test_worker_restart() {
|
||||
use actix_service::{Service, ServiceFactory};
|
||||
|
@ -457,8 +456,6 @@ async fn test_worker_restart() {
|
|||
fn new_service(&self, _: Self::Config) -> Self::Future {
|
||||
let counter = self.0.fetch_add(1, Ordering::Relaxed);
|
||||
|
||||
println!("counter is {}", counter);
|
||||
|
||||
Box::pin(async move { Ok(TestService(counter)) })
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue