-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Increase Integration Test Parallelism #4241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -214,7 +214,9 @@ jobs: | |||||||||
| --no-build -v Normal ` | ||||||||||
| --report-xunit-trx ` | ||||||||||
| --ignore-exit-code 8 ` | ||||||||||
| --filter-not-trait "Category=IntegrationDisabled" | ||||||||||
| --filter-not-trait "Category=IntegrationDisabled" ` | ||||||||||
| --parallel-algorithm aggressive ` | ||||||||||
| --max-threads 2.0x | ||||||||||
|
Comment on lines
+217
to
+219
|
||||||||||
| --filter-not-trait "Category=IntegrationDisabled" ` | |
| --parallel-algorithm aggressive ` | |
| --max-threads 2.0x | |
| --filter-not-trait "Category=IntegrationDisabled" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The aggressive parallel execution flags may conflict with XUnit's collection-based parallelization strategy that is deliberately used by integration tests to prevent resource conflicts.
Several integration test classes use XUnit collections to control parallelization:
These collections exist because the integration tests share limited resources:
Microsoft Testing Platform's parallel execution may not honor XUnit's collection-level parallelization controls, potentially causing test failures due to resource contention. Consider: