Enable parallelism in test projects - #5697
Open
rbev wants to merge 16 commits into
Open
Conversation
rbev
force-pushed
the
rhys/test-parallel
branch
from
August 4, 2026 08:03
7bac798 to
f747755
Compare
…sm on transport tests
rbev
marked this pull request as draft
August 4, 2026 08:32
rbev
force-pushed
the
rhys/test-parallel
branch
from
August 5, 2026 06:08
28b6e7d to
20f562d
Compare
rbev
marked this pull request as ready for review
August 5, 2026 08:04
rbev
requested review from
abparticular,
danielmarbach,
johnsimons and
warwickschroeder
August 5, 2026 08:04
Member
|
Should we just use the default for |
…orrectly, use default parallelism
Contributor
Author
I removed the explicit setting and it ran much slower, the build agents don't have 4 cores and benefit from having higher parallelism. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces several improvements to the test infrastructure to introduce parallelisation within the test projects to improve CI build times.
Test Infrastructure and Parallelization Enhancements:
FixtureLifeCycle,Parallelizable, andLevelOfParallelism) to bothsrc/Particular.LicensingComponent.UnitTests/NUnitSettings.csandsrc/ServiceControl.AcceptanceTests.RavenDB/NUnitSettings.csto enable test parallelization and control concurrency level.SetupFixtureinsrc/ServiceControl.AcceptanceTests.RavenDB/SetupFixture.csto ensure required event log sources are created before tests run, preventing race conditions during test startup.SemaphoreSlim-based lock andUseDatabaseLifecycleLockmethod inAcceptanceTestStorageConfigurationto serialize database lifecycle operations, preventing parallel access issues with the shared RavenDB server.Test Safety and Reliability:
[NonParallelizable]to avoid race conditions and ensure reliable test execution.Groups with full parallelism
Groups not updated