Skip to content

Overwrite xunit's app domain handling to not call AppDomain.Unload#49355

Merged
sharwell merged 4 commits intodotnet:masterfrom
sharwell:no-dispose
Nov 13, 2020
Merged

Overwrite xunit's app domain handling to not call AppDomain.Unload#49355
sharwell merged 4 commits intodotnet:masterfrom
sharwell:no-dispose

Conversation

@sharwell
Copy link
Copy Markdown
Contributor

@sharwell sharwell commented Nov 13, 2020

Hoping this avoids the need to maintain our own copy of the xunit runners, by patching the implementation at runtime to apply xunit/xunit#2192.

Fixes #15497
Fixes #40369
Fixes #48989
Fixes #49024
Fixes #49035
Fixes #49275

Comment thread src/EditorFeatures/XunitHook/XunitDisposeHook.cs Outdated
@sharwell sharwell marked this pull request as ready for review November 13, 2020 18:26
@sharwell sharwell requested a review from a team as a code owner November 13, 2020 18:26
Comment thread src/EditorFeatures/XunitHook/XunitDisposeHook.cs Outdated
Copy link
Copy Markdown
Contributor

@CyrusNajmabadi CyrusNajmabadi left a comment

Choose a reason for hiding this comment

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

fine with this as long as we have a comment linking to wahtever issue/pr we raised on the xunit side that we couldn't effectivel move forward with.

Comment thread src/EditorFeatures/XunitHook/XunitDisposeHook.cs Outdated
Comment thread src/EditorFeatures/XunitHook/XunitDisposeHook.cs Outdated
@sharwell sharwell merged commit 1d720f4 into dotnet:master Nov 13, 2020
@ghost ghost added this to the Next milestone Nov 13, 2020
@sharwell sharwell deleted the no-dispose branch November 13, 2020 23:15
@jaredpar
Copy link
Copy Markdown
Member

jaredpar commented Nov 17, 2020

This is beautiful evil

@allisonchou allisonchou modified the milestones: Next, 16.9.P2 Nov 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

6 participants