Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Pass CancellationToken to DbDataReader#38331

Merged
roji merged 2 commits into
dotnet:masterfrom
campersau:patch-1
Jun 9, 2019
Merged

Pass CancellationToken to DbDataReader#38331
roji merged 2 commits into
dotnet:masterfrom
campersau:patch-1

Conversation

@campersau

Copy link
Copy Markdown
Contributor

looks like this was missed in #36123

@stephentoub stephentoub left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add tests, too?

@campersau

Copy link
Copy Markdown
Contributor Author

Yes, I can add some tests but it may take a while for me to setup the environment. I just edited it through github 😄

@campersau

Copy link
Copy Markdown
Contributor Author

@stephentoub added tests

@stephentoub

Copy link
Copy Markdown
Member

cc: @roji

@roji

roji commented Jun 7, 2019

Copy link
Copy Markdown
Member

Indeed, thanks for catching this... Will do an extra pass to make sure this isn't a problem elsewhere. Will also add cancellation tests for all other async APIs.

@roji

roji commented Jun 9, 2019

Copy link
Copy Markdown
Member

cc @divega @ajcvickers

@roji roji merged commit 46d9f33 into dotnet:master Jun 9, 2019
@campersau campersau deleted the patch-1 branch June 9, 2019 14:52
@roji

roji commented Jun 12, 2019

Copy link
Copy Markdown
Member

Note #38453 which generalizes cancellation token tests to the entire async API surface.

@karelz karelz added this to the 3.0 milestone Jul 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants