1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
Index: reqwest/tests/timeouts.rs
===================================================================
--- reqwest.orig/tests/timeouts.rs
+++ reqwest/tests/timeouts.rs
@@ -85,7 +85,7 @@ async fn connect_timeout() {
let err = res.unwrap_err();
- assert!(err.is_connect() && err.is_timeout());
+ assert!(err.is_connect() && err.is_timeout(),"assertion failed err.is_connect() && err.is_timeout(), err={:?}",err);
}
/*#[tokio::test]
Index: reqwest/tests/connector_layers.rs
===================================================================
--- reqwest.orig/tests/connector_layers.rs
+++ reqwest/tests/connector_layers.rs
@@ -50,7 +50,7 @@ async fn non_op_layer_with_timeout() {
let err = res.unwrap_err();
- assert!(err.is_connect() && err.is_timeout());
+ assert!(err.is_connect() && err.is_timeout(),"assertion failed: err.is_connect() && err.is_timeout(), err={:?}",err);
}
#[cfg(not(target_arch = "wasm32"))]
@@ -71,7 +71,7 @@ async fn with_connect_timeout_layer_neve
let err = res.unwrap_err();
- assert!(err.is_connect() && err.is_timeout());
+ assert!(err.is_connect() && err.is_timeout(),"assertion failed: err.is_connect() && err.is_timeout(), err={:?}",err);
}
#[cfg(not(target_arch = "wasm32"))]
|