Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URLSessionClientLiveTests testCleanup #1480

Closed
wants to merge 1 commit into from
Closed

URLSessionClientLiveTests testCleanup #1480

wants to merge 1 commit into from

Conversation

RolandasRazma
Copy link
Contributor

Test for crash described in #1473

@RolandasRazma RolandasRazma mentioned this pull request Oct 28, 2020
@designatednerd
Copy link
Contributor

@RolandasRazma Is this designed to be a failing test? It appears to be failing across the board.

@RolandasRazma
Copy link
Contributor Author

yes. It crashes everything - it shouldn't - Test to illustrate problem

@designatednerd
Copy link
Contributor

OK. Wasn't clear from your description if this was to reproduce the problem or act as a solution. Thanks for clarifying!

@RolandasRazma
Copy link
Contributor Author

we could fix crash by returning error if you try calling sendRequest after URLSessionClient is invalidated

@designatednerd
Copy link
Contributor

This was helpful for #1489, that should now validate that invalidating the session returns an error. Going to close this PR out in favor of that one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants