Changes to thread princpal cause failures under .NET 4.0
Bug #459219 reported by
Charlie Poole
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NUnit Framework |
Fix Released
|
High
|
Adam Connelly | ||
NUnit V2 |
Fix Released
|
Critical
|
Charlie Poole |
Bug Description
Running under .NET 4.0, multiple failures occur if a previous test changed the CurrentPrincipal and didn't restore it. This is observed in complete runs of the NUnit tests that include NUnit.Core.
Related branches
lp:~charlie.poole/nunitv2/net-4.0-support
- NUnit Developers: Pending (code-review test) requested
-
Diff: 680 lines10 files modifiedsolutions/vs2008/nunit.sln (+219/-218)
src/ClientUtilities/tests/TestAgentTests.cs (+4/-4)
src/ClientUtilities/util/Services/TestAgency.cs (+11/-1)
src/ClientUtilities/util/TestLoader.cs (+9/-3)
src/GuiRunner/nunit-gui-exe/App.config (+9/-0)
src/NUnitCore/core/NUnitConfiguration.cs (+5/-3)
src/NUnitCore/core/TestContext.cs (+23/-5)
src/NUnitCore/interfaces/RuntimeFramework.cs (+1/-1)
src/NUnitCore/tests/CultureSettingAndDetectionTests.cs (+5/-2)
src/NUnitCore/tests/StackOverflowTestFixture.cs (+1/-1)
lp:~adam-rpconnelly/nunit-3.0/bug-459219
Merged
into
lp:nunit-3.0
- Charlie Poole: Approve
-
Diff: 2605 lines (+1172/-1205)8 files modifiedsolutions/vs2010/nunit.framework.tests/nunit.framework.tests.csproj (+230/-248)
solutions/vs2010/nunit.framework/nunit.framework.csproj (+573/-634)
solutions/vs2010/nunitlite.tests/nunitlite.tests.csproj (+131/-134)
solutions/vs2010/nunitlite/nunitlite.csproj (+185/-186)
solutions/vs2010/test-runner/test-runner.csproj (+3/-3)
src/framework/Internal/TestContext.cs (+22/-0)
src/test-assembly/TestFixtureData.cs (+12/-0)
src/tests/NUnit/Core/CallContextTests.cs (+16/-0)
Changed in nunitv2: | |
status: | New → In Progress |
importance: | Undecided → Critical |
assignee: | nobody → Charlie Poole (charlie.poole) |
milestone: | none → 2.5.3 |
Changed in nunitv2: | |
status: | In Progress → Fix Committed |
Changed in nunit-3.0: | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: easy v2port |
Changed in nunitv2: | |
status: | Fix Committed → Fix Released |
Changed in nunit-3.0: | |
assignee: | nobody → Adam Connelly (adam-rpconnelly) |
Changed in nunit-3.0: | |
status: | Triaged → Fix Committed |
milestone: | none → 2.9.4 |
Changed in nunit-3.0: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.