From da76de76f04aa9f276ad4b5171347f1d65b60730 Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Tue, 27 Feb 2018 20:32:51 -0800 Subject: [PATCH] upgrade sha crate --- Cargo.toml | 2 +- tests/test_server.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index bdafe0127..e66eb42d6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -53,7 +53,7 @@ rand = "0.4" regex = "0.2" serde = "1.0" serde_json = "1.0" -sha1 = "0.4" +sha1 = "0.6" smallvec = "0.6" time = "0.1" encoding = "0.2" diff --git a/tests/test_server.rs b/tests/test_server.rs index a7ca7318d..0aa3f1bd3 100644 --- a/tests/test_server.rs +++ b/tests/test_server.rs @@ -121,6 +121,7 @@ fn test_shutdown() { assert!(response.status().is_success()); } + thread::sleep(time::Duration::from_millis(100)); assert!(net::TcpStream::connect(addr).is_err()); }