Skip to content

Commit d47bd31

Browse files
authored
Add NonParallelizable attribute to tests (#4161)
## Pull Request Overview This PR adds the `[NonParallelizable]` attribute to UI test classes to prevent test failures caused by concurrent access to static classes. This is a targeted fix to address flaky test behavior in the ReactiveUI test suite. - Adds `[NonParallelizable]` attribute to test classes that access static members - Prevents race conditions during parallel test execution - Improves test reliability and consistency
1 parent 56f2de2 commit d47bd31

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ReactiveUI.Tests/Locator/DefaultViewLocatorTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ namespace ReactiveUI.Tests;
99
/// Tests for the default view locators.
1010
/// </summary>
1111
[TestFixture]
12+
[NonParallelizable]
1213
public partial class DefaultViewLocatorTests
1314
{
1415
/// <summary>

0 commit comments

Comments
 (0)