File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
src/libraries/System.Net.Http/tests/FunctionalTests Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,17 @@ protected override async Task<StreamPair> CreateConnectedStreamsAsync()
2020 Assert . True ( pair . Stream2 . CanRead ) ;
2121 return pair ;
2222 }
23+
24+ [ Theory ]
25+ [ InlineData ( 0 ) ]
26+ [ InlineData ( 100 ) ]
27+ [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/72586" ) ]
28+ #pragma warning disable xUnit1026 // unused parameter
29+ public override Task ReadAsync_CancelPendingTask_ThrowsCancellationException ( int cancellationDelay )
30+ {
31+ return Task . CompletedTask ;
32+ }
33+ #pragma warning restore xUnit1026
2334 }
2435
2536 public sealed class Http1RawResponseStreamConformanceTests : ResponseConnectedStreamConformanceTests
@@ -33,6 +44,17 @@ protected override async Task<StreamPair> CreateConnectedStreamsAsync()
3344 Assert . True ( pair . Stream2 . CanRead ) ;
3445 return pair ;
3546 }
47+
48+ [ Theory ]
49+ [ InlineData ( 0 ) ]
50+ [ InlineData ( 100 ) ]
51+ [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/72586" ) ]
52+ #pragma warning disable xUnit1026 // unused parameter
53+ public override Task ReadAsync_CancelPendingTask_ThrowsCancellationException ( int cancellationDelay )
54+ {
55+ return Task . CompletedTask ;
56+ }
57+ #pragma warning restore xUnit1026
3658 }
3759
3860 public sealed class Http1ContentLengthResponseStreamConformanceTests : ResponseStandaloneStreamConformanceTests
You can’t perform that action at this time.
0 commit comments