Unverified Commit 5af12824 authored by Alexandru Vasile's avatar Alexandru Vasile
Browse files

tower_http: Resubmit the same request for testing



Signed-off-by: default avatarAlexandru Vasile <alexandru.vasile@parity.io>
parent 25e33170
Pipeline #204950 passed with stages
in 5 minutes and 14 seconds
...@@ -81,6 +81,9 @@ async fn main() -> anyhow::Result<()> { ...@@ -81,6 +81,9 @@ async fn main() -> anyhow::Result<()> {
let _response: Result<String, _> = client.request("unknown_method", None).await; let _response: Result<String, _> = client.request("unknown_method", None).await;
let _ = client.request::<String>("say_hello", None).await?; let _ = client.request::<String>("say_hello", None).await?;
// Make the same request again.
let _ = client.request::<String>("say_hello", None).await?;
Ok(()) Ok(())
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment