-
Notifications
You must be signed in to change notification settings - Fork 1k
Disable parallel mode for test collections and reenable flaky tests. #8772
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
Conversation
Remove explicit collection definition that doe snothingbut disable parallelization
src/Microsoft.VisualBasic.Forms/tests/UnitTests/xunit.runner.json
Outdated
Show resolved
Hide resolved
vsplit.cur and hsplit.cur are consistent in resulting disposed handle ( or handle may never be created). |
…ispose cateorize them as `owned` while disposing.
/azp run |
Azure Pipelines successfully started running 2 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 2 pipeline(s). |
...System.Windows.Forms.Primitives/tests/UnitTests/System.Windows.Forms.Primitives.Tests.csproj
Outdated
Show resolved
Hide resolved
/azp run |
Azure Pipelines successfully started running 2 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 2 pipeline(s). |
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.
A comment nit from me.
@@ -0,0 +1,5 @@ | |||
{ | |||
"maxParallelThreads": 1, |
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.
Making everything serial should have a follow up issue for tracking if it doesn't already. It is unfortunate that we can't add comments in json. Doing this will facilitate adding poorly written tests making it harder and harder to go back to parallel testing.
@@ -28,6 +28,10 @@ | |||
<EnableTrimAnalyzer Condition="$(IsTestProject) or $(IsAnalyzerProject) or $(MSBuildProjectDirectory.Contains('\tests\'))">false</EnableTrimAnalyzer> | |||
</PropertyGroup> | |||
|
|||
<PropertyGroup Condition="'$(IsTestProject)' == 'true'"> |
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.
This would be a good place to have a comment for our re-parallelization tracking issue.
Closing as we are trying to remove all delays and a part of these changes are taken separately. |
Testing theory of "disabling test collection parallelism may be fixing flaky tests".
changes:
hsplit.cur
andvsplit.cur
. They need special attention. Possibly a bug that has been there since Framework.InputSimulator
for a more permeant and reliable solution.Related tests re-enabled:
fixes #8750 fixes #8748 fixes #8747 fixes #8746 fixes #8740 fixes #8734 fixes #8726 fixes #8723 fixes #8709 fixes #8682 fixes #8635 fixes #8634 fixes #8632 fixes #8619 fixes #8612 fixes #8611 fixes #8609 fixes #8604 fixes #8602 fixes #8601 fixes #8520 fixes #8521 fixes #8373 fixes #8223 fixes #7428 fixes #7407 fixes #7297 fixes #6610 fixes #6654 fixes #6714 fixes #6729 fixes #4212 fixes #3918 fixes #3647 fixes #3456 fixes #2856
Microsoft Reviewers: Open in CodeFlow