Skip to content

Enable parallelism in test projects - #5697

Draft
rbev wants to merge 4 commits into
masterfrom
rhys/test-parallel
Draft

Enable parallelism in test projects#5697
rbev wants to merge 4 commits into
masterfrom
rhys/test-parallel

Conversation

@rbev

@rbev rbev commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

This pull request introduces parallelization settings for NUnit test projects and marks specific acceptance test classes as non-parallelizable to avoid concurrency issues. The main changes are grouped into test project configuration updates and test class attribute adjustments.

Test Project Configuration:

  • Added assembly-level NUnit attributes to NUnitSettings.cs in both src/Particular.LicensingComponent.UnitTests and src/ServiceControl.AcceptanceTests.RavenDB to enable parallel test execution with ParallelScope.All and a maximum level of parallelism set to 4.

Test Class Attribute Adjustments:

  • Marked all CORS-related acceptance test classes in src/ServiceControl.AcceptanceTests/Security/Cors as [NonParallelizable] to prevent parallel execution and potential test interference.
  • Marked all Forwarded Headers-related acceptance test classes in src/ServiceControl.AcceptanceTests/Security/ForwardedHeaders as [NonParallelizable] for test isolation.
  • Marked the HTTPS test class When_hsts_is_configured_in_development_mode as [NonParallelizable].

@rbev
rbev force-pushed the rhys/test-parallel branch from 7bac798 to f747755 Compare August 4, 2026 08:03
@rbev
rbev marked this pull request as draft August 4, 2026 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant