← Back to team overview

nunit-core team mailing list archive

[Bug 1103031] [NEW] PNUnit: DomainPool don't work

 

Public bug reported:

Hey,

I have writting parallel test using PNUnit.

I'm using static list in my application, but tests won't assert that list contains element.
In fact, I discover that use of one test domain pool in pnunit don't work.

I look on the source code. I found the use of a queue of testdomain and
testdomain are enqueue in the queue when the test is finished. But this
can't work when you run test in parallel.

So, I suggest to use of share testdomain (== a static field) when domain
pool is enable.

Fx

** Affects: nunitv2
     Importance: Undecided
         Status: New


** Tags: pnunit

-- 
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.
https://bugs.launchpad.net/bugs/1103031

Title:
  PNUnit: DomainPool don't work

Status in NUnit V2 Test Framework:
  New

Bug description:
  Hey,

  I have writting parallel test using PNUnit.

  I'm using static list in my application, but tests won't assert that list contains element.
  In fact, I discover that use of one test domain pool in pnunit don't work.

  I look on the source code. I found the use of a queue of testdomain
  and testdomain are enqueue in the queue when the test is finished. But
  this can't work when you run test in parallel.

  So, I suggest to use of share testdomain (== a static field) when
  domain pool is enable.

  Fx

To manage notifications about this bug go to:
https://bugs.launchpad.net/nunitv2/+bug/1103031/+subscriptions


Follow ups

References