We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 688fc38 commit 95070d0Copy full SHA for 95070d0
tests/piping_server.rs
@@ -9,6 +9,7 @@ use std::convert::Infallible;
9
use piping_server::piping_server::PipingServer;
10
use piping_server::req_res_handler::req_res_handler;
11
use std::net::SocketAddr;
12
+use std::time;
13
14
type BoxError = Box<dyn std::error::Error + Send + Sync>;
15
@@ -496,6 +497,7 @@ async fn f() -> Result<(), BoxError> {
496
497
Ok::<_, BoxError>(get_res)
498
}
499
});
500
+ tokio::time::sleep(time::Duration::from_millis(100)).await;
501
502
let send_body_str = "this is a content";
503
let send_req = hyper::Request::builder()
0 commit comments