@@ -354,7 +354,6 @@ async fn socket_disconnect_closes_idle_conn() {
354354 future:: select ( t, close) . await ;
355355}
356356
357- #[ cfg( not( miri) ) ]
358357#[ test]
359358fn connect_call_is_lazy ( ) {
360359 // We especially don't want connects() triggered if there's
@@ -1328,7 +1327,6 @@ impl tower_service::Service<hyper::Uri> for MockConnector {
13281327// Test for connection error propagation with PR #184.
13291328// Simulates a connection failure by setting failed=true and returning a custom io::Error.
13301329// Verifies the error propagates through hyper’s client as a hyper::Error(Io, ...).
1331- #[ cfg( not( miri) ) ]
13321330#[ tokio:: test]
13331331async fn test_connection_error_propagation_pr184 ( ) {
13341332 // Define the error message for the simulated connection failure.
@@ -1386,7 +1384,6 @@ async fn test_connection_error_propagation_pr184() {
13861384// Simulates a connection that returns EOF immediately, causing hyper’s HTTP/1.1 parser
13871385// to fail with IncompleteMessage due to no response data.
13881386// Uses MockConnector with conn_error=None to keep failed=false, ensuring EOF behavior.
1389- #[ cfg( not( miri) ) ]
13901387#[ tokio:: test]
13911388async fn test_incomplete_message_error_pr184 ( ) {
13921389 // Create an empty IoBuilder to simulate a connection with no data.
@@ -1446,7 +1443,6 @@ async fn test_incomplete_message_error_pr184() {
14461443// Test for a successful HTTP/1.1 connection using a mock connector.
14471444// Simulates a server that accepts a request and responds with a 200 OK.
14481445// Verifies the client correctly sends the request and receives the response.
1449- #[ cfg( not( miri) ) ]
14501446#[ tokio:: test]
14511447async fn test_successful_connection ( ) {
14521448 // Define the expected server response: a valid HTTP/1.1 200 OK with no body.
0 commit comments