Skip to content

Conversation

@rzikm
Copy link
Member

@rzikm rzikm commented Apr 17, 2025

Contributes to #114782

Copilot AI review requested due to automatic review settings April 17, 2025 14:10
@ghost ghost added the area-System.Net label Apr 17, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR disables the CancelSendPingAsync test on OSX to work around an active issue (#114782) while also updating the formatting of a ProcessStartInfo initializer.

  • Added a conditional check in CancelSendPingAsync to throw a SkipTestException on OSX when useIPAddress is true and useCancellationToken is false.
  • Reformatted the ProcessStartInfo initializer for consistency.

[OuterLoop] // Depends on external host and assumption that successful ping takes long enough for cancellation to go through first
public async Task CancelSendPingAsync(bool useIPAddress, bool useCancellationToken)
{
if (PlatformDetection.IsOSX && useIPAddress && !useCancellationToken)
Copy link
Member

Choose a reason for hiding this comment

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

ActiveIssue???

Copy link
Member Author

Choose a reason for hiding this comment

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

In the SkipTestException message

@rzikm
Copy link
Member Author

rzikm commented Apr 22, 2025

/ba-g test failures are unrelated

@rzikm rzikm merged commit 79a2a66 into dotnet:main Apr 22, 2025
79 of 85 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators May 23, 2025
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.

3 participants