Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,11 @@
[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)

Check failure on line 697 in src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-arm64 Debug Mono_MiniJIT_LibrariesTests)

src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs#L697

src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs(697,35): error CS1955: (NETCORE_ENGINEERING_TELEMETRY=Build) Non-invocable member 'PlatformDetection.IsOSX' cannot be used like a method.

Check failure on line 697 in src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-x64 Debug Mono_MiniJIT_LibrariesTests)

src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs#L697

src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs(697,35): error CS1955: (NETCORE_ENGINEERING_TELEMETRY=Build) Non-invocable member 'PlatformDetection.IsOSX' cannot be used like a method.

Check failure on line 697 in src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-x64 Debug Mono_Interpreter_LibrariesTests)

src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs#L697

src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs(697,35): error CS1955: (NETCORE_ENGINEERING_TELEMETRY=Build) Non-invocable member 'PlatformDetection.IsOSX' cannot be used like a method.

Check failure on line 697 in src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs

View check run for this annotation

Azure Pipelines / runtime (Build osx-x64 Debug Mono_MiniJIT_LibrariesTests)

src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs#L697

src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs(697,35): error CS1955: (NETCORE_ENGINEERING_TELEMETRY=Build) Non-invocable member 'PlatformDetection.IsOSX' cannot be used like a method.

Check failure on line 697 in src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs

View check run for this annotation

Azure Pipelines / runtime (Build osx-x64 Debug CoreCLR_Libraries)

src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs#L697

src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs(697,35): error CS1955: (NETCORE_ENGINEERING_TELEMETRY=Build) Non-invocable member 'PlatformDetection.IsOSX' cannot be used like a method.

Check failure on line 697 in src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux_musl-x64 Debug CoreCLR_Libraries)

src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs#L697

src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs(697,35): error CS1955: (NETCORE_ENGINEERING_TELEMETRY=Build) Non-invocable member 'PlatformDetection.IsOSX' cannot be used like a method.

Check failure on line 697 in src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-x64 Debug CoreCLR_Libraries)

src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs#L697

src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs(697,35): error CS1955: (NETCORE_ENGINEERING_TELEMETRY=Build) Non-invocable member 'PlatformDetection.IsOSX' cannot be used like a method.

Check failure on line 697 in src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-arm64 Debug Libraries_CheckedCoreCLR)

src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs#L697

src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs(697,35): error CS1955: (NETCORE_ENGINEERING_TELEMETRY=Build) Non-invocable member 'PlatformDetection.IsOSX' cannot be used like a method.

Check failure on line 697 in src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs

View check run for this annotation

Azure Pipelines / runtime (Build browser-wasm linux Release LibraryTests_EAT)

src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs#L697

src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs(697,35): error CS1955: (NETCORE_ENGINEERING_TELEMETRY=Build) Non-invocable member 'PlatformDetection.IsOSX' cannot be used like a method.

Check failure on line 697 in src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs

View check run for this annotation

Azure Pipelines / runtime (Build browser-wasm linux Release LibraryTests)

src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs#L697

src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs(697,35): error CS1955: (NETCORE_ENGINEERING_TELEMETRY=Build) Non-invocable member 'PlatformDetection.IsOSX' cannot be used like a method.

Check failure on line 697 in src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs

View check run for this annotation

Azure Pipelines / runtime (Build osx-x64 Debug Libraries_CheckedCoreCLR)

src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs#L697

src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs(697,35): error CS1955: (NETCORE_ENGINEERING_TELEMETRY=Build) Non-invocable member 'PlatformDetection.IsOSX' cannot be used like a method.

Check failure on line 697 in src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs

View check run for this annotation

Azure Pipelines / runtime

src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs#L697

src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs(697,35): error CS1955: (NETCORE_ENGINEERING_TELEMETRY=Build) Non-invocable member 'PlatformDetection.IsOSX' cannot be used like a method.

Check failure on line 697 in src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs

View check run for this annotation

Azure Pipelines / runtime

src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs#L697

src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs(697,35): error CS1955: (NETCORE_ENGINEERING_TELEMETRY=Build) Non-invocable member 'PlatformDetection.IsOSX' cannot be used like a method.

Check failure on line 697 in src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs

View check run for this annotation

Azure Pipelines / runtime

src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs#L697

src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs(697,35): error CS1955: (NETCORE_ENGINEERING_TELEMETRY=Build) Non-invocable member 'PlatformDetection.IsOSX' cannot be used like a method.

Check failure on line 697 in src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs

View check run for this annotation

Azure Pipelines / runtime

src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs#L697

src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs(697,35): error CS1955: (NETCORE_ENGINEERING_TELEMETRY=Build) Non-invocable member 'PlatformDetection.IsOSX' cannot be used like a method.
{
throw new SkipTestException("[ActiveIssue(https://github.com/dotnet/runtime/issues/114782)]");
}

using CancellationTokenSource source = new();

using Ping ping = new();
Expand Down Expand Up @@ -870,7 +875,8 @@
{
IPAddress localIpAddress = TestSettings.GetLocalIPAddress(addressFamily);

var remoteInvokeStartInfo = new ProcessStartInfo {
var remoteInvokeStartInfo = new ProcessStartInfo
{
EnvironmentVariables =
{
["LANG"] = envVar_LANG,
Expand Down
Loading