@@ -53,8 +53,8 @@ private async Task App(HttpContext httpContext)
53
53
// https://github.com/aspnet/KestrelHttpServer/issues/240
54
54
// This test currently fails on mono because of an issue with SslStream.
55
55
[ ConditionalFact ]
56
- [ OSSkipCondition ( OperatingSystems . Linux ) ]
57
- [ OSSkipCondition ( OperatingSystems . MacOSX ) ]
56
+ [ OSSkipCondition ( OperatingSystems . Linux , SkipReason = "WinHttpHandler not available on non-Windows." ) ]
57
+ [ OSSkipCondition ( OperatingSystems . MacOSX , SkipReason = "WinHttpHandler not available on non-Windows." ) ]
58
58
public async Task CanReadAndWriteWithHttpsConnectionFilter ( )
59
59
{
60
60
RemoteCertificateValidationCallback validationCallback =
@@ -96,11 +96,9 @@ public async Task CanReadAndWriteWithHttpsConnectionFilter()
96
96
}
97
97
}
98
98
99
- // https://github.com/aspnet/KestrelHttpServer/issues/240
100
- // This test currently fails on mono because of an issue with SslStream.
101
99
[ ConditionalFact ]
102
- [ OSSkipCondition ( OperatingSystems . Linux ) ]
103
- [ OSSkipCondition ( OperatingSystems . MacOSX ) ]
100
+ [ OSSkipCondition ( OperatingSystems . Linux , SkipReason = "WinHttpHandler not available on non-Windows." ) ]
101
+ [ OSSkipCondition ( OperatingSystems . MacOSX , SkipReason = "WinHttpHandler not available on non-Windows." ) ]
104
102
public async Task RequireCertificateFailsWhenNoCertificate ( )
105
103
{
106
104
RemoteCertificateValidationCallback validationCallback =
@@ -143,11 +141,9 @@ await Assert.ThrowsAnyAsync<Exception>(
143
141
}
144
142
}
145
143
146
- // https://github.com/aspnet/KestrelHttpServer/issues/240
147
- // This test currently fails on mono because of an issue with SslStream.
148
144
[ ConditionalFact ]
149
- [ OSSkipCondition ( OperatingSystems . Linux ) ]
150
- [ OSSkipCondition ( OperatingSystems . MacOSX ) ]
145
+ [ OSSkipCondition ( OperatingSystems . Linux , SkipReason = "WinHttpHandler not available on non-Windows." ) ]
146
+ [ OSSkipCondition ( OperatingSystems . MacOSX , SkipReason = "WinHttpHandler not available on non-Windows." ) ]
151
147
public async Task AllowCertificateContinuesWhenNoCertificate ( )
152
148
{
153
149
RemoteCertificateValidationCallback validationCallback =
@@ -197,11 +193,8 @@ public async Task AllowCertificateContinuesWhenNoCertificate()
197
193
}
198
194
}
199
195
200
- // https://github.com/aspnet/KestrelHttpServer/issues/240
201
- // This test currently fails on mono because of an issue with SslStream.
202
196
[ ConditionalFact ]
203
- [ OSSkipCondition ( OperatingSystems . Linux ) ]
204
- [ OSSkipCondition ( OperatingSystems . MacOSX ) ]
197
+ [ FrameworkSkipCondition ( RuntimeFrameworks . Mono , SkipReason = "This test currently fails on Mono because of an issue with SslStream (https://github.com/aspnet/KestrelHttpServer/issues/240)." ) ]
205
198
public async Task CertificatePassedToHttpContext ( )
206
199
{
207
200
RemoteCertificateValidationCallback validationCallback =
@@ -263,11 +256,9 @@ public async Task CertificatePassedToHttpContext()
263
256
}
264
257
}
265
258
266
- // https://github.com/aspnet/KestrelHttpServer/issues/240
267
- // This test currently fails on mono because of an issue with SslStream.
268
259
[ ConditionalFact ]
269
- [ OSSkipCondition ( OperatingSystems . Linux ) ]
270
- [ OSSkipCondition ( OperatingSystems . MacOSX ) ]
260
+ [ OSSkipCondition ( OperatingSystems . Linux , SkipReason = "WinHttpHandler not available on non-Windows." ) ]
261
+ [ OSSkipCondition ( OperatingSystems . MacOSX , SkipReason = "WinHttpHandler not available on non-Windows." ) ]
271
262
public async Task HttpsSchemePassedToRequestFeature ( )
272
263
{
273
264
RemoteCertificateValidationCallback validationCallback =
0 commit comments