Skip to content

Commit

Permalink
Add test for the even handler leaking fix (PowerShell#10768)
Browse files Browse the repository at this point in the history
Add a test for the even handler leaking fix addressed in PowerShell#10626 PowerShell#10626
The test is added to verify that PowerShell unregister the 'AppDomain.ProcessExit' event handler when a Runspace closes.
  • Loading branch information
daxian-dbw authored and kilasuit committed Nov 9, 2019
1 parent 07399b3 commit b2e6d60
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions test/xUnit/csharp/test_Runspace.cs
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,6 @@ public void TestRunspaceWithPowerShellAndInitialSessionState()
[SkippableFact]
public void TestAppDomainProcessExitEvenHandlerNotLeaking()
{
// Skip this flaky test for now.
Skip.IfNot(false);

Skip.IfNot(Platform.IsWindows);

EventHandler eventHandler;
Expand Down

0 comments on commit b2e6d60

Please sign in to comment.