Skip to content

Conversation

@antonfirsov
Copy link
Contributor

Fixes #57907

Intentionally left out ***CancellableTask and ***SyncForceNonBlocking to somewhat counterpart the increased execution time. I don't think we need all the cases for this particular test.

@ghost
Copy link

ghost commented Aug 23, 2021

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

Issue Details

Fixes #57907

Intentionally left out ***CancellableTask and ***SyncForceNonBlocking to somewhat counterpart the increased execution time. I don't think we need all the cases for this particular test.

Author: antonfirsov
Assignees: -
Labels:

area-System.Net.Sockets

Milestone: -

Copy link
Member

@ManickaP ManickaP left a comment

Choose a reason for hiding this comment

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

Thanks!

// Running all cases of GreaterThan2GBFile_SendsAllBytes in parallel may attempt to allocate Min(ProcessorCount, Subclass_Count) * 2GB of disk space
// in extreme cases. Some CI machines may run out of disk space if this happens.
[Collection(nameof(NoParallelTests))]
public class SendFile_NonParallel<T> : SocketTestHelperBase<T> where T : SocketHelperBase, new()
Copy link
Member

Choose a reason for hiding this comment

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

Abstract?

public sealed class SendFile_NonParallel_Apm : SendFile_NonParallel<SocketHelperApm>
{
public SendFile_NonParallel_Apm(ITestOutputHelper output) : base(output) { }
}
Copy link
Member

@ManickaP ManickaP Aug 23, 2021

Choose a reason for hiding this comment

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

I assume that SocketHelperCancellableTask and SocketHelperSyncForceNonBlocking are left out on purpose?
I should have read the description first 😄

@karelz karelz merged commit 918e6a9 into dotnet:main Aug 24, 2021
@karelz karelz added this to the 7.0.0 milestone Aug 24, 2021
@karelz
Copy link
Member

karelz commented Aug 24, 2021

/backport to release/6.0

@github-actions
Copy link
Contributor

Started backporting to release/6.0: https://github.com/dotnet/runtime/actions/runs/1161691277

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test failure System.Net.Sockets.Tests.SendFile_CancellableTask.GreaterThan2GBFile_SendsAllBytes

3 participants