← Back to team overview

nunit-core team mailing list archive

[Bug 728500] Re: TestDomain should unload the test AppDomain

 

** Also affects: nunitv2/2.5
   Importance: Undecided
       Status: New

** Also affects: nunitv2/trunk
   Importance: High
       Status: Triaged

** Changed in: nunitv2/2.5
    Milestone: None => 2.5.10

** Changed in: nunitv2/trunk
    Milestone: 2.5.10 => 2.6.0b1

** Changed in: nunitv2/2.5
       Status: New => Triaged

** Changed in: nunitv2/2.5
   Importance: Undecided => High

** Changed in: nunitv2/2.5
     Assignee: (unassigned) => Charlie Poole (charlie.poole)

** Changed in: nunitv2/trunk
     Assignee: (unassigned) => Charlie Poole (charlie.poole)

-- 
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:
  Triaged
Status in NUnit V2 2.5 series:
  Triaged
Status in NUnit V2 trunk series:
  Triaged

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();

  }



References