@@ -354,7 +354,6 @@ async fn socket_disconnect_closes_idle_conn() {
354
354
future:: select ( t, close) . await ;
355
355
}
356
356
357
- #[ cfg( not( miri) ) ]
358
357
#[ test]
359
358
fn connect_call_is_lazy ( ) {
360
359
// We especially don't want connects() triggered if there's
@@ -1328,7 +1327,6 @@ impl tower_service::Service<hyper::Uri> for MockConnector {
1328
1327
// Test for connection error propagation with PR #184.
1329
1328
// Simulates a connection failure by setting failed=true and returning a custom io::Error.
1330
1329
// Verifies the error propagates through hyper’s client as a hyper::Error(Io, ...).
1331
- #[ cfg( not( miri) ) ]
1332
1330
#[ tokio:: test]
1333
1331
async fn test_connection_error_propagation_pr184 ( ) {
1334
1332
// Define the error message for the simulated connection failure.
@@ -1386,7 +1384,6 @@ async fn test_connection_error_propagation_pr184() {
1386
1384
// Simulates a connection that returns EOF immediately, causing hyper’s HTTP/1.1 parser
1387
1385
// to fail with IncompleteMessage due to no response data.
1388
1386
// Uses MockConnector with conn_error=None to keep failed=false, ensuring EOF behavior.
1389
- #[ cfg( not( miri) ) ]
1390
1387
#[ tokio:: test]
1391
1388
async fn test_incomplete_message_error_pr184 ( ) {
1392
1389
// Create an empty IoBuilder to simulate a connection with no data.
@@ -1446,7 +1443,6 @@ async fn test_incomplete_message_error_pr184() {
1446
1443
// Test for a successful HTTP/1.1 connection using a mock connector.
1447
1444
// Simulates a server that accepts a request and responds with a 200 OK.
1448
1445
// Verifies the client correctly sends the request and receives the response.
1449
- #[ cfg( not( miri) ) ]
1450
1446
#[ tokio:: test]
1451
1447
async fn test_successful_connection ( ) {
1452
1448
// Define the expected server response: a valid HTTP/1.1 200 OK with no body.
0 commit comments