Tweak StreamConformanceTests for cancellation (#44342)
authorStephen Toub <stoub@microsoft.com>
Fri, 6 Nov 2020 10:33:25 +0000 (05:33 -0500)
committerGitHub <noreply@github.com>
Fri, 6 Nov 2020 10:33:25 +0000 (05:33 -0500)
commit54d27b29a5793894806ce3ca22bbe70e0d62b353
tree6b7ff1498e8c75df87d7cd23a4746d97e22ff032
parent640f0f72bc1c31717b6a319ced7e00bd44675349
Tweak StreamConformanceTests for cancellation (#44342)

- Avoid unnecessary timers
- Separate tests for precancellation, ReadAsync(byte[], ...) cancellation, and ReadAsync(Memory, ...) cancellation
src/libraries/Common/tests/Tests/System/IO/StreamConformanceTests.cs