diff --git a/src/libraries/System.Net.NameResolution/tests/FunctionalTests/GetHostEntryTest.cs b/src/libraries/System.Net.NameResolution/tests/FunctionalTests/GetHostEntryTest.cs index c4fa6aaadad73a..e5d8ab8674a2a2 100644 --- a/src/libraries/System.Net.NameResolution/tests/FunctionalTests/GetHostEntryTest.cs +++ b/src/libraries/System.Net.NameResolution/tests/FunctionalTests/GetHostEntryTest.cs @@ -260,6 +260,7 @@ public async Task DnsGetHostEntry_BadName_ThrowsArgumentOutOfRangeException_Obso [InlineData(1)] [InlineData(2)] [ActiveIssue("https://github.com/dotnet/runtime/issues/107339", TestPlatforms.Wasi)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/124079", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)] public async Task DnsGetHostEntry_LocalHost_ReturnsFqdnAndLoopbackIPs(int mode) { IPHostEntry entry = mode switch diff --git a/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendReceive/SendReceive.cs b/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendReceive/SendReceive.cs index ce7f48d90d30e1..7ce9264bf224e1 100644 --- a/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendReceive/SendReceive.cs +++ b/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendReceive/SendReceive.cs @@ -185,7 +185,7 @@ public async Task SendRecv_Stream_TCP_LargeMultiBufferSends(IPAddress listenAt) Task acceptTask = AcceptAsync(listener); await client.ConnectAsync(listener.LocalEndPoint).WaitAsync(TestSettings.PassingTestTimeout); using Socket server = await acceptTask.WaitAsync(TestSettings.PassingTestTimeout); - + var sentChecksum = new Fletcher32(); var rand = new Random(); int bytesToSend = 0; @@ -1030,6 +1030,7 @@ await Task.WhenAny(disposeTask, receiveTask) [Theory] [MemberData(nameof(TcpReceiveSendGetsCanceledByDispose_Data))] [ActiveIssue("https://github.com/dotnet/runtime/issues/50568", TestPlatforms.Android | TestPlatforms.LinuxBionic)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/124079", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)] [SkipOnPlatform(TestPlatforms.Wasi, "Wasi doesn't support PortBlocker")] public async Task TcpReceiveSendGetsCanceledByDispose(bool receiveOrSend, bool ipv6Server, bool dualModeClient, bool owning) { diff --git a/src/libraries/System.Net.Sockets/tests/FunctionalTests/SocketAsyncEventArgsTest.cs b/src/libraries/System.Net.Sockets/tests/FunctionalTests/SocketAsyncEventArgsTest.cs index 811b6ff2b18bbe..7e96416c18dd0d 100644 --- a/src/libraries/System.Net.Sockets/tests/FunctionalTests/SocketAsyncEventArgsTest.cs +++ b/src/libraries/System.Net.Sockets/tests/FunctionalTests/SocketAsyncEventArgsTest.cs @@ -1091,6 +1091,7 @@ public async Task SendTo_DifferentEP_Success(bool ipv4) } [ConditionalFact(typeof(DualModeBase), nameof(DualModeBase.LocalhostIsBothIPv4AndIPv6))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/124079", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)] public void Connect_Parallel_Success() { using PortBlocker portBlocker = new PortBlocker(() => @@ -1123,6 +1124,7 @@ public void Connect_Parallel_Success() } [ConditionalFact(typeof(DualModeBase), nameof(DualModeBase.LocalhostIsBothIPv4AndIPv6))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/124079", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)] public void Connect_Parallel_Fails() { using PortBlocker portBlocker = new PortBlocker(() => @@ -1157,6 +1159,7 @@ public void Connect_Parallel_Fails() [ConditionalTheory(typeof(DualModeBase), nameof(DualModeBase.LocalhostIsBothIPv4AndIPv6))] [InlineData(true)] [InlineData(false)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/124079", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)] public void Connect_Parallel_FailsOver(bool preferIPv6) { using PortBlocker portBlocker = new PortBlocker(() => diff --git a/src/tests/Common/helixpublishwitharcade.proj b/src/tests/Common/helixpublishwitharcade.proj index 626f0a50d58d00..7a9ff200f57fe1 100644 --- a/src/tests/Common/helixpublishwitharcade.proj +++ b/src/tests/Common/helixpublishwitharcade.proj @@ -269,6 +269,7 @@ <_MergedWrapperMarker Include="$(TestBinDir)**\*.MergedTestAssembly" Exclude="$(TestBinDir)**\supportFiles\*.MergedTestAssembly" /> <_MergedWrapperMarker Include="$(TestBinDir)**\*.MergedTestAssemblyForStress" Exclude="$(TestBinDir)**\supportFiles\*.MergedTestAssemblyForStress" /> + <_MergedWrapperMarker Condition="'$(TargetsMobile)' == 'true'" Include="$(TestBinDir)**\*.StandaloneTestRunner" Exclude="$(TestBinDir)**\supportFiles\*.StandaloneTestRunner" /> <_MergedWrapperMarker> $([System.IO.Path]::ChangeExtension('%(Identity)', '.$(TestScriptExtension)')) @@ -424,12 +425,14 @@ DependsOnTargets="DiscoverMergedTestWrappers;GetTestExclusionList"> <_MergedWrapperDirectory>%(_MergedWrapperMarker.RootDir)%(Directory) - <_MergedWrapperName>%(_MergedWrapperMarker.FileName) + <_MergedWrapperName>$([System.Text.RegularExpressions.Regex]::Replace('%(_MergedWrapperMarker.FileName)', '\.(MergedTestAssembly(ForStress)?(\.\d+\.\d+)?|StandaloneTestRunner)$', '')) <_MergedApkName>$(_MergedWrapperName.Replace('-', '_')) + <_ExpectedApkPath>$(_MergedWrapperDirectory)$(MobileAppBundleDirName)/bin/$(_MergedApkName).apk - + + <_MergedPayloadGroups Include="$(_MergedWrapperName)"> $(_MergedApkName) @@ -438,10 +441,11 @@ <_MergedPayloadFiles Include="$(_MergedWrapperDirectory)ExpectedExitCode.txt" Condition="Exists('$(_MergedWrapperDirectory)ExpectedExitCode.txt')" /> - + + ExcludedTests="@(FilteredTestExclusionList)" + Condition="'@(_MergedPayloadApkFiles)' != ''" /> <_MergedWrapperDirectory>%(_MergedWrapperMarker.RootDir)%(Directory) - <_MergedWrapperName>$([System.Text.RegularExpressions.Regex]::Replace('%(_MergedWrapperMarker.FileName)', '\.MergedTestAssembly(ForStress)?\.\d+\.\d+$', '')) + <_MergedWrapperName>$([System.Text.RegularExpressions.Regex]::Replace('%(_MergedWrapperMarker.FileName)', '\.(MergedTestAssembly(ForStress)?(\.\d+\.\d+)?|StandaloneTestRunner)$', '')) @@ -538,7 +542,7 @@ <_MergedWrapperDirectory>%(_MergedWrapperMarker.RootDir)%(Directory) - <_MergedWrapperName>$([System.Text.RegularExpressions.Regex]::Replace('%(_MergedWrapperMarker.FileName)', '\.MergedTestAssembly(ForStress)?\.\d+\.\d+$', '')) + <_MergedWrapperName>$([System.Text.RegularExpressions.Regex]::Replace('%(_MergedWrapperMarker.FileName)', '\.(MergedTestAssembly(ForStress)?(\.\d+\.\d+)?|StandaloneTestRunner)$', '')) @@ -564,7 +568,7 @@