@@ -264,7 +264,8 @@ public void CanUpgradeRequestWithConnectionKeepAliveUpgradeHeader()
264
264
Assert . True ( dataRead ) ;
265
265
}
266
266
267
- [ Fact ]
267
+ [ ConditionalFact ]
268
+ [ OSSkipCondition ( OperatingSystems . MacOSX , SkipReason = "macOS EPIPE vs. EPROTOTYPE bug https://github.com/aspnet/KestrelHttpServer/issues/2885" ) ]
268
269
public async Task ConnectionResetPriorToRequestIsLoggedAsDebug ( )
269
270
{
270
271
var connectionStarted = new SemaphoreSlim ( 0 ) ;
@@ -325,7 +326,8 @@ public async Task ConnectionResetPriorToRequestIsLoggedAsDebug()
325
326
Assert . False ( loggedHigherThanDebug ) ;
326
327
}
327
328
328
- [ Fact ]
329
+ [ ConditionalFact ]
330
+ [ OSSkipCondition ( OperatingSystems . MacOSX , SkipReason = "macOS EPIPE vs. EPROTOTYPE bug https://github.com/aspnet/KestrelHttpServer/issues/2885" ) ]
329
331
public async Task ConnectionResetBetweenRequestsIsLoggedAsDebug ( )
330
332
{
331
333
var connectionReset = new SemaphoreSlim ( 0 ) ;
@@ -394,7 +396,8 @@ await connection.Receive(
394
396
Assert . False ( loggedHigherThanDebug ) ;
395
397
}
396
398
397
- [ Fact ]
399
+ [ ConditionalFact ]
400
+ [ OSSkipCondition ( OperatingSystems . MacOSX , SkipReason = "macOS EPIPE vs. EPROTOTYPE bug https://github.com/aspnet/KestrelHttpServer/issues/2885" ) ]
398
401
public async Task ConnectionResetMidRequestIsLoggedAsDebug ( )
399
402
{
400
403
var requestStarted = new SemaphoreSlim ( 0 ) ;
@@ -463,7 +466,8 @@ public async Task ConnectionResetMidRequestIsLoggedAsDebug()
463
466
Assert . False ( loggedHigherThanDebug , "Logged event should not have been higher than debug." ) ;
464
467
}
465
468
466
- [ Fact ]
469
+ [ ConditionalFact ]
470
+ [ OSSkipCondition ( OperatingSystems . MacOSX , SkipReason = "macOS EPIPE vs. EPROTOTYPE bug https://github.com/aspnet/KestrelHttpServer/issues/2885" ) ]
467
471
public async Task ThrowsOnReadAfterConnectionError ( )
468
472
{
469
473
var requestStarted = new SemaphoreSlim ( 0 ) ;
@@ -1305,7 +1309,8 @@ await connection.Send(
1305
1309
mockKestrelTrace . Verify ( t => t . ConnectionStop ( It . IsAny < string > ( ) ) , Times . AtMostOnce ( ) ) ;
1306
1310
}
1307
1311
1308
- [ Theory ]
1312
+ [ ConditionalTheory ]
1313
+ [ OSSkipCondition ( OperatingSystems . MacOSX , SkipReason = "macOS EPIPE vs. EPROTOTYPE bug https://github.com/aspnet/KestrelHttpServer/issues/2885" ) ]
1309
1314
[ MemberData ( nameof ( ConnectionAdapterData ) ) ]
1310
1315
public async Task AppCanHandleClientAbortingConnectionMidRequest ( ListenOptions listenOptions )
1311
1316
{
0 commit comments