Skip to content
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

disable test parallelization for http3 #56413

Merged
merged 1 commit into from
Jul 30, 2021

Conversation

wfurt
Copy link
Member

@wfurt wfurt commented Jul 27, 2021

While some of the CI failures are not fully understood, CPU load and #55979 may be contributing factor.
As mitigation agreed with the team, we will for now run HTTP3 tests without parallelism and all the HTTP3 tests will run last one by one. It does not seems to add significant delay to overall duration.

@wfurt wfurt added area-System.Net.Http test-enhancement Improvements of test source code labels Jul 27, 2021
@ghost
Copy link

ghost commented Jul 27, 2021

Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

Issue Details

While some of the CI failures are not fully understood, CPU load and #55979 may be contributing factor.
As mitigation agreed with the team, we will for now run HTTP3 tests without parallelism and all the HTTP3 tests will run last one by one. It does not seems to add significant delay to overall duration.

Author: wfurt
Assignees: -
Labels:

area-System.Net.Http, test enhancement

Milestone: -

@@ -3143,20 +3143,23 @@ public sealed class SocketsHttpHandler_HttpClientHandler_Cancellation_Test_Http2
}

[ConditionalClass(typeof(HttpClientHandlerTestBase), nameof(IsMsQuicSupported))]
[Collection("NoParallelTests")]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit:

Suggested change
[Collection("NoParallelTests")]
[Collection(nameof(NoParallelTests))]

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically, this is name of the collection, not name of the class right?

[CollectionDefinition("NoParallelTests", DisableParallelization = true)]

It so happen we name them the same.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, but it still helps IMO by binding the string constant to a symbol name in the C# compilation. (Harder to make a typo assuming we may have more of these.)

@stephentoub stephentoub merged commit 9a657ce into dotnet:main Jul 30, 2021
@karelz karelz added this to the 6.0.0 milestone Aug 17, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Sep 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Net.Http test-enhancement Improvements of test source code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants