-
Notifications
You must be signed in to change notification settings - Fork 323
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
Don't parallelize default platform tests #3849
Conversation
@MarcoRossignoli the static platform check strikes again. Probably no time to do it the better way we discussed in this sprint. (By adding a "userSet" field on each node in runsettings. |
@@ -2578,9 +2579,14 @@ private void DiscoverTestsIfThrowsExceptionShouldThrowOut(Exception exception) | |||
[DataRow("x86")] | |||
[DataRow("x64")] | |||
[DataRow("arm64")] | |||
// Don't parallelize because we can run into conflict with GetDefaultArchitecture -> RunSettingsHelper.Instance.IsDefaultTargetArchitecture |
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.
Could we rework the static so that the test can be run in parallel?
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.
Yes, if we do the work to populate the attribute on the actual runsettings text and read it from there.
test/vstest.console.UnitTests/TestPlatformHelpers/TestRequestManagerTests.cs
Outdated
Show resolved
Hide resolved
Yeah...it's on backlog. |
…anagerTests.cs Co-authored-by: Amaury Levé <amaury.leve@gmail.com>
Description
Do not parallelize tests for default platform.