Skip to content

cronet: delay cast to ExperimentalCronetEngine#4230

Merged
ericgribkoff merged 1 commit intogrpc:masterfrom
ericgribkoff:fix_experimental_cronet_cast
Mar 16, 2018
Merged

cronet: delay cast to ExperimentalCronetEngine#4230
ericgribkoff merged 1 commit intogrpc:masterfrom
ericgribkoff:fix_experimental_cronet_cast

Conversation

@ericgribkoff
Copy link
Copy Markdown
Contributor

We actually require an ExperimentalCronetEngine to create any streams, but our API previously allowed any CronetEngine and delayed the cast until an RPC was created. #4208 moved the cast earlier, which broke some internal tests (using mocked CronetEngines) that never actually sent an RPC. We should adjust the API here to require an ExperimentalCronetEngine upfront, but this PR restores the delayed cast behavior to fix existing tests, until I have time to update the internal user's test code along with the API change.

cc @JensenPaul

Copy link
Copy Markdown
Contributor

@carl-mastrangelo carl-mastrangelo left a comment

Choose a reason for hiding this comment

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

LGTM

@ericgribkoff ericgribkoff merged commit 5e8b8c2 into grpc:master Mar 16, 2018
@ericgribkoff ericgribkoff deleted the fix_experimental_cronet_cast branch March 16, 2018 02:09
@lock lock Bot locked as resolved and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants