Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
rzikm committed Jan 14, 2025
1 parent b745aba commit 56f6c56
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 32 deletions.
16 changes: 1 addition & 15 deletions src/libraries/Common/tests/System/Net/Configuration.Http.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,6 @@ public static partial class Http
public static readonly Uri Http2RemoteEchoServer = new Uri("https://" + Http2Host + "/" + EchoHandler);
public static Uri[] GetEchoServerList()
{
if (PlatformDetection.IsFirefox)
{
// https://github.com/dotnet/runtime/issues/101115
// [ActiveIssue("https://github.com/dotnet/runtime/issues/110578)]
// return [RemoteEchoServer];
return [];
}
return [
// [ActiveIssue("https://github.com/dotnet/runtime/issues/110578)]
// RemoteEchoServer,
Expand Down Expand Up @@ -112,13 +105,6 @@ public static Uri[] GetEchoServerList()

public static IEnumerable<RemoteServer> GetRemoteServers()
{
if (PlatformDetection.IsFirefox)
{
// https://github.com/dotnet/runtime/issues/101115
// [ActiveIssue("https://github.com/dotnet/runtime/issues/110578)]
// return new RemoteServer[] { RemoteHttp11Server };
return [];
}
return new RemoteServer[]
{
// [ActiveIssue("https://github.com/dotnet/runtime/issues/110578)]
Expand All @@ -128,7 +114,7 @@ public static IEnumerable<RemoteServer> GetRemoteServers()
};
}

public static readonly IEnumerable<object[]> RemoteServersMemberData = RemoteServers.Select(s => new object[] { s });
public static readonly IEnumerable<object[]> RemoteServersMemberData = GetRemoteServers().Select(s => new object[] { s });

public sealed class RemoteServer
{
Expand Down
17 changes: 0 additions & 17 deletions src/libraries/Common/tests/System/Net/Configuration.WebSockets.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,6 @@ public static partial class WebSockets

public static object[][] GetEchoServers()
{
if (PlatformDetection.IsFirefox)
{
// https://github.com/dotnet/runtime/issues/101115
return new object[][] {
// [ActiveIssue("https://github.com/dotnet/runtime/issues/110578)]
// new object[] { RemoteEchoServer },

};
}
return new object[][] {
// [ActiveIssue("https://github.com/dotnet/runtime/issues/110578)]
// new object[] { RemoteEchoServer },
Expand All @@ -42,14 +33,6 @@ public static object[][] GetEchoServers()

public static object[][] GetEchoHeadersServers()
{
if (PlatformDetection.IsFirefox)
{
// https://github.com/dotnet/runtime/issues/101115
return new object[][] {
// [ActiveIssue("https://github.com/dotnet/runtime/issues/110578)]
// new object[] { RemoteEchoHeadersServer },
};
}
return new object[][] {
// [ActiveIssue("https://github.com/dotnet/runtime/issues/110578)]
// new object[] { RemoteEchoHeadersServer },
Expand Down

0 comments on commit 56f6c56

Please sign in to comment.