From bebfc6c9b5a2d47d1e8e02ea34ab4c32bed0f13a Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Fri, 2 Mar 2018 11:32:37 -0800 Subject: [PATCH] sleep for test --- tests/test_server.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_server.rs b/tests/test_server.rs index 1db242057..32f4ab6f2 100644 --- a/tests/test_server.rs +++ b/tests/test_server.rs @@ -121,7 +121,7 @@ fn test_shutdown() { assert!(response.status().is_success()); } - thread::sleep(time::Duration::from_millis(100)); + thread::sleep(time::Duration::from_millis(1000)); assert!(net::TcpStream::connect(addr).is_err()); }