Skip to content

StreamPipeReader/Writer Cancellation failures in netcoreapp3.0 #4621

@Tratcher

Description

@Tratcher

These CancelPendingRead/Write/Flush tests are all failing after moving to netcoreapp3.0.

[xUnit.net 00:00:02.01]     Microsoft.AspNetCore.Http.Tests.StreamPipeWriterTests.CancelPendingFlushLostOfCancellationsNoDataLost [FAIL]
Failed   Microsoft.AspNetCore.Http.Tests.StreamPipeWriterTests.CancelPendingFlushLostOfCancellationsNoDataLost
Error Message:
 Assert.True() Failure
Expected: True
Actual:   False
Stack Trace:
   at Microsoft.AspNetCore.Http.Tests.StreamPipeWriterTests.CancelPendingFlushLostOfCancellationsNoDataLost() in d:\github\AspNetCore\src\Http\Http\test\StreamPipeWriterTests.cs:line 260
--- End of stack trace from previous location where exception was thrown ---
[xUnit.net 00:00:02.08]     Microsoft.AspNetCore.Http.Tests.StreamPipeWriterTests.CancelPendingFlushBetweenWritesAllDataIsPreserved [FAIL]
Failed   Microsoft.AspNetCore.Http.Tests.StreamPipeWriterTests.CancelPendingFlushBetweenWritesAllDataIsPreserved
Error Message:
 Assert.True() Failure
Expected: True
Actual:   False
Stack Trace:
   at Microsoft.AspNetCore.Http.Tests.StreamPipeWriterTests.CancelPendingFlushBetweenWritesAllDataIsPreserved() in d:\github\AspNetCore\src\Http\Http\test\StreamPipeWriterTests.cs:line 176
--- End of stack trace from previous location where exception was thrown ---
[xUnit.net 00:00:02.75]     Microsoft.AspNetCore.Http.Tests.StreamPipeReaderTests.ReadCanBeCanceledViaCancelPendingReadWhenReadIsAsync [FAIL]
Failed   Microsoft.AspNetCore.Http.Tests.StreamPipeReaderTests.ReadCanBeCanceledViaCancelPendingReadWhenReadIsAsync
Error Message:
 Assert.True() Failure
Expected: True
Actual:   False
Stack Trace:
   at Microsoft.AspNetCore.Http.Tests.StreamPipeReaderTests.ReadCanBeCanceledViaCancelPendingReadWhenReadIsAsync() in d:\github\AspNetCore\src\Http\Http\test\StreamPipeReaderTests.cs:line 180
--- End of stack trace from previous location where exception was thrown ---

Skipping until this can be debugged.

Metadata

Metadata

Assignees

Labels

DoneThis issue has been fixedarea-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsbugThis issue describes a behavior which is not expected - a bug.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions