Multiple instances of Nunit runners, which use nunit-agent, can not be run in parallel.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NUnit V2 |
Fix Released
|
High
|
Charlie Poole |
Bug Description
An instance of an Nunit runner, which uses nunit-agent to run tests, is preventing any other parallel instance to execute tests using nunit-agent.
If the other instance uses /process=Separate, it fails with "No fixture found".
If it uses /process=Multiple, it fails with the following exception:
System.
bei NUnit.Core.
bei NUnit.Util.
bei NUnit.Util.
bei NUnit.ConsoleRu
bei NUnit.ConsoleRu
Steps to reproduce:
- for any test assembly start two instances of nunit-console setting /process=Separate or /process=Multiple
Related branches
Changed in nunitv2: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Charlie Poole (charlie.poole) |
milestone: | none → 2.5.6 |
Changed in nunitv2: | |
status: | Triaged → In Progress |
Changed in nunitv2: | |
status: | In Progress → Fix Committed |
Changed in nunitv2: | |
status: | Fix Committed → Fix Released |
Note that running test from .net 4.0 assemblies usually implies /process=Separate unless the Nunit run under .net 4.0. Version= v4.0.30319 before starting Nunit.
To force Nunit to run under .net 4.0 set the environment variable COMPLUS_