Skip to content

URLSessionClientLiveTests testCleanup#1480

Closed
RolandasRazma wants to merge 1 commit intoapollographql:mainfrom
getfiit:URLSessionClientLiveTests_invalidate_crash
Closed

URLSessionClientLiveTests testCleanup#1480
RolandasRazma wants to merge 1 commit intoapollographql:mainfrom
getfiit:URLSessionClientLiveTests_invalidate_crash

Conversation

@RolandasRazma
Copy link
Copy Markdown
Contributor

Test for crash described in #1473

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

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

@RolandasRazma
Copy link
Copy Markdown
Contributor Author

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

@designatednerd
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

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

@designatednerd
Copy link
Copy Markdown
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