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

[Mono] Skip flaky android tests #61460

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
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 @@ -26,6 +26,7 @@ public class UnixPingUtilityTests
[InlineData(1000)]
[InlineData(1500)]
[PlatformSpecific(TestPlatforms.AnyUnix)]
[ActiveIssue("https://github.com/dotnet/runtime/issues/61343", TestPlatforms.Android)]
public static void TimeoutIsRespected(int timeout)
{
Process p = ConstructPingProcess(IPAddress.Parse(TestSettings.UnreachableAddress), 50, timeout);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public async Task NullEndpoint_Throws_ArgumentException()
}

[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/61343", TestPlatforms.Android)]
public async Task Datagram_UDP_ShouldImplicitlyBindLocalEndpoint()
{
using var socket = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp);
Expand All @@ -84,6 +85,7 @@ public async Task Datagram_UDP_ShouldImplicitlyBindLocalEndpoint()
}

[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/61343", TestPlatforms.Android)]
public async Task Datagram_UDP_AccessDenied_Throws_DoesNotBind()
{
IPEndPoint invalidEndpoint = new IPEndPoint(IPAddress.Broadcast, 1234);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public void ReuseUnicastPort_CreateSocketSetOption()
}

[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/61343", TestPlatforms.Android)]
public void MulticastOption_CreateSocketSetGetOption_GroupAndInterfaceIndex_SetSucceeds_GetThrows()
{
int interfaceIndex = 0;
Expand All @@ -65,6 +66,7 @@ public void MulticastOption_CreateSocketSetGetOption_GroupAndInterfaceIndex_SetS
}

[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotWindowsNanoNorServerCore))] // Skip on Nano: https://github.com/dotnet/runtime/issues/26286
[ActiveIssue("https://github.com/dotnet/runtime/issues/61343", TestPlatforms.Android)]
public async Task MulticastInterface_Set_AnyInterface_Succeeds()
{
// On all platforms, index 0 means "any interface"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,7 @@ public void Connect_InvalidArguments_Throws()
}

[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/61343", TestPlatforms.Android)]
public async Task ConnectAsync_StringHost_Success()
{
using (var c = new UdpClient())
Expand All @@ -448,6 +449,7 @@ public async Task ConnectAsync_StringHost_Success()
}

[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/61343", TestPlatforms.Android)]
public async Task ConnectAsync_IPAddressHost_Success()
{
using (var c = new UdpClient())
Expand All @@ -457,6 +459,7 @@ public async Task ConnectAsync_IPAddressHost_Success()
}

[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/61343", TestPlatforms.Android)]
public void Connect_StringHost_Success()
{
using (var c = new UdpClient())
Expand All @@ -466,6 +469,7 @@ public void Connect_StringHost_Success()
}

[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/61343", TestPlatforms.Android)]
public void Connect_IPAddressHost_Success()
{
using (var c = new UdpClient())
Expand Down