nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #01571
[Bug 728500] [NEW] TestDomain should unload the test AppDomain
Public bug reported:
nunit-agent.exe can hang using nunit 2.5.9.10348 if the test assembly
creates a thread that is left running on completion of the test case
execution. To ensure that the test case code threads are all aborted
the test domain class should explicitly unload the test case domain.
NUnit.Util.TestDomain should override the Dispose() method as follows:
public override void Dispose()
{
base.Dispose();
Unload();
}
** Affects: nunitv2
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.
https://bugs.launchpad.net/bugs/728500
Title:
TestDomain should unload the test AppDomain
Status in NUnit V2 Test Framework:
New
Bug description:
nunit-agent.exe can hang using nunit 2.5.9.10348 if the test assembly
creates a thread that is left running on completion of the test case
execution. To ensure that the test case code threads are all aborted
the test domain class should explicitly unload the test case domain.
NUnit.Util.TestDomain should override the Dispose() method as follows:
public override void Dispose()
{
base.Dispose();
Unload();
}
Follow ups
-
[Bug 728500] Re: TestDomain should unload the test AppDomain
From: Charlie Poole, 2011-08-27
-
[Bug 728500] Re: TestDomain should unload the test AppDomain
From: Charlie Poole, 2011-06-12
-
[Bug 728500] Re: TestDomain should unload the test AppDomain
From: Launchpad Bug Tracker, 2011-03-15
-
[Bug 728500] Re: TestDomain should unload the test AppDomain
From: Charlie Poole, 2011-03-15
-
[Bug 728500] Re: TestDomain should unload the test AppDomain
From: Charlie Poole, 2011-03-15
-
[Bug 728500] Re: TestDomain should unload the test AppDomain
From: Launchpad Bug Tracker, 2011-03-15
-
[Bug 728500] Re: TestDomain should unload the test AppDomain
From: Charlie Poole, 2011-03-14
-
[Bug 728500] Re: TestDomain should unload the test AppDomain
From: Charlie Poole, 2011-03-13
-
[Bug 728500] Re: TestDomain should unload the test AppDomain
From: Charlie Poole, 2011-03-11
-
[Bug 728500] [NEW] TestDomain should unload the test AppDomain
From: Graham MacDonald, 2011-03-03
References