We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07a7215 commit ebcd332Copy full SHA for ebcd332
src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs
@@ -80,7 +80,7 @@ private static byte[] GetPingPayload(AddressFamily addressFamily)
80
81
public static bool DoesNotUsePingUtility => !UsesPingUtility;
82
83
- public static bool UsesPingUtility => OperatingSystem.IsLinux() && !Capability.CanUseRawSockets(TestSettings.GetLocalIPAddress().AddressFamily);
+ public static bool UsesPingUtility => (OperatingSystem.IsLinux() || OperatingSystem.IsAndroid()) && !Capability.CanUseRawSockets(TestSettings.GetLocalIPAddress().AddressFamily);
84
85
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsThreadingSupported))]
86
public async Task SendPingAsync_InvalidArgs()
0 commit comments