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

[release/8.0] Disable tests targetting http://corefx-net-http11.azurewebsites.net #111401

Merged
merged 5 commits into from
Jan 15, 2025
Merged
Show file tree
Hide file tree
Changes from 2 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
53 changes: 48 additions & 5 deletions src/libraries/Common/tests/System/Net/Configuration.Http.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,22 @@
public static readonly Uri RemoteEchoServer = new Uri("http://" + Host + "/" + EchoHandler);
public static readonly Uri SecureRemoteEchoServer = new Uri("https://" + SecureHost + "/" + EchoHandler);
public static readonly Uri Http2RemoteEchoServer = new Uri("https://" + Http2Host + "/" + EchoHandler);
public static readonly Uri[] EchoServerList = new Uri[] { RemoteEchoServer, SecureRemoteEchoServer, Http2RemoteEchoServer };
public static Uri[] GetEchoServerList()
{
if (PlatformDetection.IsFirefox)

Check failure on line 63 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build linux_musl arm Release)

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L63

src/libraries/Common/tests/System/Net/Configuration.Http.cs(63,39): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'PlatformDetection' does not contain a definition for 'IsFirefox'

Check failure on line 63 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build linux_musl arm Release)

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L63

src/libraries/Common/tests/System/Net/Configuration.Http.cs(63,39): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'PlatformDetection' does not contain a definition for 'IsFirefox'

Check failure on line 63 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build linux_musl arm64 Release)

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L63

src/libraries/Common/tests/System/Net/Configuration.Http.cs(63,39): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'PlatformDetection' does not contain a definition for 'IsFirefox'

Check failure on line 63 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build linux_musl arm64 Release)

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L63

src/libraries/Common/tests/System/Net/Configuration.Http.cs(63,39): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'PlatformDetection' does not contain a definition for 'IsFirefox'

Check failure on line 63 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build linux arm Release)

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L63

src/libraries/Common/tests/System/Net/Configuration.Http.cs(63,39): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'PlatformDetection' does not contain a definition for 'IsFirefox'

Check failure on line 63 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build linux arm Release)

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L63

src/libraries/Common/tests/System/Net/Configuration.Http.cs(63,39): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'PlatformDetection' does not contain a definition for 'IsFirefox'

Check failure on line 63 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build linux_musl x64 Debug)

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L63

src/libraries/Common/tests/System/Net/Configuration.Http.cs(63,39): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'PlatformDetection' does not contain a definition for 'IsFirefox'

Check failure on line 63 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build linux_musl x64 Debug)

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L63

src/libraries/Common/tests/System/Net/Configuration.Http.cs(63,39): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'PlatformDetection' does not contain a definition for 'IsFirefox'

Check failure on line 63 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build linux x64 Debug)

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L63

src/libraries/Common/tests/System/Net/Configuration.Http.cs(63,39): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'PlatformDetection' does not contain a definition for 'IsFirefox'

Check failure on line 63 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build linux x64 Debug)

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L63

src/libraries/Common/tests/System/Net/Configuration.Http.cs(63,39): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'PlatformDetection' does not contain a definition for 'IsFirefox'

Check failure on line 63 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build linux arm64 Debug)

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L63

src/libraries/Common/tests/System/Net/Configuration.Http.cs(63,39): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'PlatformDetection' does not contain a definition for 'IsFirefox'

Check failure on line 63 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

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

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L63

src/libraries/Common/tests/System/Net/Configuration.Http.cs(63,39): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'PlatformDetection' does not contain a definition for 'IsFirefox'

Check failure on line 63 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

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

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L63

src/libraries/Common/tests/System/Net/Configuration.Http.cs(63,39): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'PlatformDetection' does not contain a definition for 'IsFirefox'

Check failure on line 63 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

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

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L63

src/libraries/Common/tests/System/Net/Configuration.Http.cs(63,39): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'PlatformDetection' does not contain a definition for 'IsFirefox'

Check failure on line 63 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

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

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L63

src/libraries/Common/tests/System/Net/Configuration.Http.cs(63,39): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'PlatformDetection' does not contain a definition for 'IsFirefox'

Check failure on line 63 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build osx arm64 Debug)

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L63

src/libraries/Common/tests/System/Net/Configuration.Http.cs(63,39): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'PlatformDetection' does not contain a definition for 'IsFirefox'

Check failure on line 63 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build osx arm64 Debug)

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L63

src/libraries/Common/tests/System/Net/Configuration.Http.cs(63,39): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'PlatformDetection' does not contain a definition for 'IsFirefox'

Check failure on line 63 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build osx x64 Debug)

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L63

src/libraries/Common/tests/System/Net/Configuration.Http.cs(63,39): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'PlatformDetection' does not contain a definition for 'IsFirefox'

Check failure on line 63 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build osx x64 Debug)

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L63

src/libraries/Common/tests/System/Net/Configuration.Http.cs(63,39): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'PlatformDetection' does not contain a definition for 'IsFirefox'

Check failure on line 63 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

Azure Pipelines / runtime

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L63

src/libraries/Common/tests/System/Net/Configuration.Http.cs(63,39): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'PlatformDetection' does not contain a definition for '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,
SecureRemoteEchoServer,
Http2RemoteEchoServer
];
}

public static readonly Uri RemoteVerifyUploadServer = new Uri("http://" + Host + "/" + VerifyUploadHandler);
public static readonly Uri SecureRemoteVerifyUploadServer = new Uri("https://" + SecureHost + "/" + VerifyUploadHandler);
Expand All @@ -72,9 +87,21 @@
public static readonly Uri Http2RemoteGZipServer = new Uri("https://" + Http2Host + "/" + GZipHandler);
public static Uri RemoteLoopServer => new Uri("ws://" + RemoteLoopHost + "/" + RemoteLoopHandler);

public static readonly object[][] EchoServers = EchoServerList.Select(x => new object[] { x }).ToArray();
public static readonly object[][] VerifyUploadServers = { new object[] { RemoteVerifyUploadServer }, new object[] { SecureRemoteVerifyUploadServer }, new object[] { Http2RemoteVerifyUploadServer } };
public static readonly object[][] CompressedServers = { new object[] { RemoteDeflateServer }, new object[] { RemoteGZipServer }, new object[] { Http2RemoteDeflateServer }, new object[] { Http2RemoteGZipServer } };
public static readonly object[][] EchoServers = GetEchoServerList().Select(x => new object[] { x }).ToArray();
public static readonly object[][] VerifyUploadServers = {
// [ActiveIssue("https://github.com/dotnet/runtime/issues/110578)]
// new object[] { RemoteVerifyUploadServer },
new object[] { SecureRemoteVerifyUploadServer },
new object[] { Http2RemoteVerifyUploadServer }
};

public static readonly object[][] CompressedServers = {
// [ActiveIssue("https://github.com/dotnet/runtime/issues/110578)]
// new object[] { RemoteDeflateServer },
new object[] { RemoteGZipServer },
new object[] { Http2RemoteDeflateServer },
new object[] { Http2RemoteGZipServer }
};

public static readonly object[][] Http2Servers = { new object[] { new Uri("https://" + Http2Host) } };
public static readonly object[][] Http2NoPushServers = { new object[] { new Uri("https://" + Http2NoPushHost) } };
Expand All @@ -83,9 +110,25 @@
public static readonly RemoteServer RemoteSecureHttp11Server = new RemoteServer(new Uri("https://" + SecureHost + "/"), HttpVersion.Version11);
public static readonly RemoteServer RemoteHttp2Server = new RemoteServer(new Uri("https://" + Http2Host + "/"), new Version(2, 0));

public static readonly IEnumerable<RemoteServer> RemoteServers = new RemoteServer[] { RemoteHttp11Server, RemoteSecureHttp11Server, RemoteHttp2Server };
public static IEnumerable<RemoteServer> GetRemoteServers()
{
if (PlatformDetection.IsFirefox)

Check failure on line 115 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build linux_musl arm Release)

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L115

src/libraries/Common/tests/System/Net/Configuration.Http.cs(115,39): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'PlatformDetection' does not contain a definition for 'IsFirefox'

Check failure on line 115 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build linux_musl arm64 Release)

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L115

src/libraries/Common/tests/System/Net/Configuration.Http.cs(115,39): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'PlatformDetection' does not contain a definition for 'IsFirefox'

Check failure on line 115 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build linux arm Release)

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L115

src/libraries/Common/tests/System/Net/Configuration.Http.cs(115,39): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'PlatformDetection' does not contain a definition for 'IsFirefox'

Check failure on line 115 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build linux_musl x64 Debug)

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L115

src/libraries/Common/tests/System/Net/Configuration.Http.cs(115,39): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'PlatformDetection' does not contain a definition for 'IsFirefox'

Check failure on line 115 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build linux x64 Debug)

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L115

src/libraries/Common/tests/System/Net/Configuration.Http.cs(115,39): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'PlatformDetection' does not contain a definition for 'IsFirefox'

Check failure on line 115 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build linux arm64 Debug)

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L115

src/libraries/Common/tests/System/Net/Configuration.Http.cs(115,39): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'PlatformDetection' does not contain a definition for 'IsFirefox'

Check failure on line 115 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

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

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L115

src/libraries/Common/tests/System/Net/Configuration.Http.cs(115,39): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'PlatformDetection' does not contain a definition for 'IsFirefox'

Check failure on line 115 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

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

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L115

src/libraries/Common/tests/System/Net/Configuration.Http.cs(115,39): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'PlatformDetection' does not contain a definition for 'IsFirefox'

Check failure on line 115 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

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

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L115

src/libraries/Common/tests/System/Net/Configuration.Http.cs(115,39): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'PlatformDetection' does not contain a definition for 'IsFirefox'

Check failure on line 115 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build osx arm64 Debug)

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L115

src/libraries/Common/tests/System/Net/Configuration.Http.cs(115,39): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'PlatformDetection' does not contain a definition for 'IsFirefox'

Check failure on line 115 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build osx x64 Debug)

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L115

src/libraries/Common/tests/System/Net/Configuration.Http.cs(115,39): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'PlatformDetection' does not contain a definition for 'IsFirefox'

Check failure on line 115 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

Azure Pipelines / runtime

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L115

src/libraries/Common/tests/System/Net/Configuration.Http.cs(115,39): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'PlatformDetection' does not contain a definition for '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)]
// RemoteHttp11Server,
RemoteSecureHttp11Server,
RemoteHttp2Server
};
}

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

Check failure on line 131 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build linux_musl arm Release)

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L131

src/libraries/Common/tests/System/Net/Configuration.Http.cs(131,84): error CS0103: (NETCORE_ENGINEERING_TELEMETRY=Build) The name 'RemoteServers' does not exist in the current context

Check failure on line 131 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build linux_musl arm Release)

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L131

src/libraries/Common/tests/System/Net/Configuration.Http.cs(131,84): error CS0103: (NETCORE_ENGINEERING_TELEMETRY=Build) The name 'RemoteServers' does not exist in the current context

Check failure on line 131 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build linux_musl arm64 Release)

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L131

src/libraries/Common/tests/System/Net/Configuration.Http.cs(131,84): error CS0103: (NETCORE_ENGINEERING_TELEMETRY=Build) The name 'RemoteServers' does not exist in the current context

Check failure on line 131 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build linux_musl arm64 Release)

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L131

src/libraries/Common/tests/System/Net/Configuration.Http.cs(131,84): error CS0103: (NETCORE_ENGINEERING_TELEMETRY=Build) The name 'RemoteServers' does not exist in the current context

Check failure on line 131 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build linux arm Release)

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L131

src/libraries/Common/tests/System/Net/Configuration.Http.cs(131,84): error CS0103: (NETCORE_ENGINEERING_TELEMETRY=Build) The name 'RemoteServers' does not exist in the current context

Check failure on line 131 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build linux arm Release)

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L131

src/libraries/Common/tests/System/Net/Configuration.Http.cs(131,84): error CS0103: (NETCORE_ENGINEERING_TELEMETRY=Build) The name 'RemoteServers' does not exist in the current context

Check failure on line 131 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build linux_musl x64 Debug)

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L131

src/libraries/Common/tests/System/Net/Configuration.Http.cs(131,84): error CS0103: (NETCORE_ENGINEERING_TELEMETRY=Build) The name 'RemoteServers' does not exist in the current context

Check failure on line 131 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build linux_musl x64 Debug)

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L131

src/libraries/Common/tests/System/Net/Configuration.Http.cs(131,84): error CS0103: (NETCORE_ENGINEERING_TELEMETRY=Build) The name 'RemoteServers' does not exist in the current context

Check failure on line 131 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build linux x64 Debug)

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L131

src/libraries/Common/tests/System/Net/Configuration.Http.cs(131,84): error CS0103: (NETCORE_ENGINEERING_TELEMETRY=Build) The name 'RemoteServers' does not exist in the current context

Check failure on line 131 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build linux x64 Debug)

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L131

src/libraries/Common/tests/System/Net/Configuration.Http.cs(131,84): error CS0103: (NETCORE_ENGINEERING_TELEMETRY=Build) The name 'RemoteServers' does not exist in the current context

Check failure on line 131 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build linux arm64 Debug)

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L131

src/libraries/Common/tests/System/Net/Configuration.Http.cs(131,84): error CS0103: (NETCORE_ENGINEERING_TELEMETRY=Build) The name 'RemoteServers' does not exist in the current context

Check failure on line 131 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

Azure Pipelines / runtime-dev-innerloop (Build Libraries Build freebsd x64 Debug)

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L131

src/libraries/Common/tests/System/Net/Configuration.Http.cs(131,84): error CS0103: (NETCORE_ENGINEERING_TELEMETRY=Build) The name 'RemoteServers' does not exist in the current context

Check failure on line 131 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

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

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L131

src/libraries/Common/tests/System/Net/Configuration.Http.cs(131,84): error CS0103: (NETCORE_ENGINEERING_TELEMETRY=Build) The name 'RemoteServers' does not exist in the current context

Check failure on line 131 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

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

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L131

src/libraries/Common/tests/System/Net/Configuration.Http.cs(131,84): error CS0103: (NETCORE_ENGINEERING_TELEMETRY=Build) The name 'RemoteServers' does not exist in the current context

Check failure on line 131 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

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

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L131

src/libraries/Common/tests/System/Net/Configuration.Http.cs(131,84): error CS0103: (NETCORE_ENGINEERING_TELEMETRY=Build) The name 'RemoteServers' does not exist in the current context

Check failure on line 131 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

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

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L131

src/libraries/Common/tests/System/Net/Configuration.Http.cs(131,84): error CS0103: (NETCORE_ENGINEERING_TELEMETRY=Build) The name 'RemoteServers' does not exist in the current context

Check failure on line 131 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build osx arm64 Debug)

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L131

src/libraries/Common/tests/System/Net/Configuration.Http.cs(131,84): error CS0103: (NETCORE_ENGINEERING_TELEMETRY=Build) The name 'RemoteServers' does not exist in the current context

Check failure on line 131 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build osx arm64 Debug)

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L131

src/libraries/Common/tests/System/Net/Configuration.Http.cs(131,84): error CS0103: (NETCORE_ENGINEERING_TELEMETRY=Build) The name 'RemoteServers' does not exist in the current context

Check failure on line 131 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build osx x64 Debug)

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L131

src/libraries/Common/tests/System/Net/Configuration.Http.cs(131,84): error CS0103: (NETCORE_ENGINEERING_TELEMETRY=Build) The name 'RemoteServers' does not exist in the current context

Check failure on line 131 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build osx x64 Debug)

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L131

src/libraries/Common/tests/System/Net/Configuration.Http.cs(131,84): error CS0103: (NETCORE_ENGINEERING_TELEMETRY=Build) The name 'RemoteServers' does not exist in the current context

Check failure on line 131 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

Azure Pipelines / runtime-dev-innerloop

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L131

src/libraries/Common/tests/System/Net/Configuration.Http.cs(131,84): error CS0103: (NETCORE_ENGINEERING_TELEMETRY=Build) The name 'RemoteServers' does not exist in the current context

Check failure on line 131 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

Azure Pipelines / runtime

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L131

src/libraries/Common/tests/System/Net/Configuration.Http.cs(131,84): error CS0103: (NETCORE_ENGINEERING_TELEMETRY=Build) The name 'RemoteServers' does not exist in the current context

Check failure on line 131 in src/libraries/Common/tests/System/Net/Configuration.Http.cs

View check run for this annotation

Azure Pipelines / runtime

src/libraries/Common/tests/System/Net/Configuration.Http.cs#L131

src/libraries/Common/tests/System/Net/Configuration.Http.cs(131,84): error CS0103: (NETCORE_ENGINEERING_TELEMETRY=Build) The name 'RemoteServers' does not exist in the current context

public sealed class RemoteServer
{
Expand Down
36 changes: 34 additions & 2 deletions src/libraries/Common/tests/System/Net/Configuration.WebSockets.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,40 @@
public static readonly Uri RemoteEchoHeadersServer = new Uri("ws://" + Host + "/" + EchoHeadersHandler);
public static readonly Uri SecureRemoteEchoHeadersServer = new Uri("wss://" + SecureHost + "/" + EchoHeadersHandler);

public static readonly object[][] EchoServers = { new object[] { RemoteEchoServer }, new object[] { SecureRemoteEchoServer } };
public static readonly object[][] EchoHeadersServers = { new object[] { RemoteEchoHeadersServer }, new object[] { SecureRemoteEchoHeadersServer } };
public static object[][] GetEchoServers()
{
if (PlatformDetection.IsFirefox)

Check failure on line 27 in src/libraries/Common/tests/System/Net/Configuration.WebSockets.cs

View check run for this annotation

Azure Pipelines / runtime-dev-innerloop (Build Libraries Build freebsd x64 Debug)

src/libraries/Common/tests/System/Net/Configuration.WebSockets.cs#L27

src/libraries/Common/tests/System/Net/Configuration.WebSockets.cs(27,39): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'PlatformDetection' does not contain a definition for 'IsFirefox'

Check failure on line 27 in src/libraries/Common/tests/System/Net/Configuration.WebSockets.cs

View check run for this annotation

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

src/libraries/Common/tests/System/Net/Configuration.WebSockets.cs#L27

src/libraries/Common/tests/System/Net/Configuration.WebSockets.cs(27,39): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'PlatformDetection' does not contain a definition for 'IsFirefox'

Check failure on line 27 in src/libraries/Common/tests/System/Net/Configuration.WebSockets.cs

View check run for this annotation

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

src/libraries/Common/tests/System/Net/Configuration.WebSockets.cs#L27

src/libraries/Common/tests/System/Net/Configuration.WebSockets.cs(27,39): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'PlatformDetection' does not contain a definition for 'IsFirefox'

Check failure on line 27 in src/libraries/Common/tests/System/Net/Configuration.WebSockets.cs

View check run for this annotation

Azure Pipelines / runtime-dev-innerloop

src/libraries/Common/tests/System/Net/Configuration.WebSockets.cs#L27

src/libraries/Common/tests/System/Net/Configuration.WebSockets.cs(27,39): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'PlatformDetection' does not contain a definition for '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 },
new object[] { SecureRemoteEchoServer },
};
}

public static object[][] GetEchoHeadersServers()
{
if (PlatformDetection.IsFirefox)

Check failure on line 45 in src/libraries/Common/tests/System/Net/Configuration.WebSockets.cs

View check run for this annotation

Azure Pipelines / runtime-dev-innerloop (Build Libraries Build freebsd x64 Debug)

src/libraries/Common/tests/System/Net/Configuration.WebSockets.cs#L45

src/libraries/Common/tests/System/Net/Configuration.WebSockets.cs(45,39): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'PlatformDetection' does not contain a definition for 'IsFirefox'

Check failure on line 45 in src/libraries/Common/tests/System/Net/Configuration.WebSockets.cs

View check run for this annotation

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

src/libraries/Common/tests/System/Net/Configuration.WebSockets.cs#L45

src/libraries/Common/tests/System/Net/Configuration.WebSockets.cs(45,39): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'PlatformDetection' does not contain a definition for 'IsFirefox'

Check failure on line 45 in src/libraries/Common/tests/System/Net/Configuration.WebSockets.cs

View check run for this annotation

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

src/libraries/Common/tests/System/Net/Configuration.WebSockets.cs#L45

src/libraries/Common/tests/System/Net/Configuration.WebSockets.cs(45,39): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'PlatformDetection' does not contain a definition for 'IsFirefox'

Check failure on line 45 in src/libraries/Common/tests/System/Net/Configuration.WebSockets.cs

View check run for this annotation

Azure Pipelines / runtime-dev-innerloop

src/libraries/Common/tests/System/Net/Configuration.WebSockets.cs#L45

src/libraries/Common/tests/System/Net/Configuration.WebSockets.cs(45,39): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'PlatformDetection' does not contain a definition for '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 },
new object[] { SecureRemoteEchoHeadersServer },
};
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public async Task UseDefaultCredentials_SetToFalseAndServerNeedsAuth_StatusCodeU
handler.UseDefaultCredentials = false;
using (HttpClient client = CreateHttpClient(handler))
{
Uri uri = Configuration.Http.RemoteHttp11Server.NegotiateAuthUriForDefaultCreds;
Uri uri = Configuration.Http.RemoteSecureHttp11Server.NegotiateAuthUriForDefaultCreds;
_output.WriteLine("Uri: {0}", uri);
using (HttpResponseMessage response = await client.GetAsync(uri))
{
Expand Down Expand Up @@ -600,9 +600,9 @@ public async Task PostAsync_CallMethod_EmptyContent(Configuration.Http.RemoteSer
public static IEnumerable<object[]> ExpectContinueVersion()
{
return
from expect in new bool?[] {true, false, null}
from version in new Version[] {new Version(1, 0), new Version(1, 1), new Version(2, 0)}
select new object[] {expect, version};
from expect in new bool?[] { true, false, null }
from version in new Version[] { new Version(1, 0), new Version(1, 1), new Version(2, 0) }
select new object[] { expect, version };
}

[OuterLoop("Uses external servers", typeof(PlatformDetection), nameof(PlatformDetection.LocalEchoServerIsNotAvailable))]
Expand Down Expand Up @@ -780,7 +780,8 @@ public async Task SendAsync_SendRequestUsingMethodToEchoServerWithNoContent_Meth
{
var request = new HttpRequestMessage(
new HttpMethod(method),
serverUri) { Version = UseVersion };
serverUri)
{ Version = UseVersion };

using (HttpResponseMessage response = await client.SendAsync(TestAsync, request))
{
Expand All @@ -806,7 +807,8 @@ public async Task SendAsync_SendRequestUsingMethodToEchoServerWithContent_Succes
{
var request = new HttpRequestMessage(
new HttpMethod(method),
serverUri) { Version = UseVersion };
serverUri)
{ Version = UseVersion };
request.Content = new StringContent(ExpectedContent);
using (HttpResponseMessage response = await client.SendAsync(TestAsync, request))
{
Expand Down Expand Up @@ -985,6 +987,7 @@ public async Task GetAsync_AllowAutoRedirectTrue_RedirectFromHttpToHttp_StatusCo
[OuterLoop("Uses external servers")]
[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/55083", TestPlatforms.Browser)]
[ActiveIssue("https://github.com/dotnet/runtime/issues/110578")]
public async Task GetAsync_AllowAutoRedirectTrue_RedirectFromHttpToHttps_StatusCodeOK()
{
HttpClientHandler handler = CreateHttpClientHandler();
Expand Down Expand Up @@ -1069,17 +1072,17 @@ public async Task GetAsync_MaxAutomaticRedirectionsNServerHops_ThrowsIfTooMany(i
handler.MaxAutomaticRedirections = maxHops;
using (HttpClient client = CreateHttpClient(handler))
{
Task<HttpResponseMessage> t = client.GetAsync(Configuration.Http.RemoteHttp11Server.RedirectUriForDestinationUri(
Task<HttpResponseMessage> t = client.GetAsync(Configuration.Http.RemoteSecureHttp11Server.RedirectUriForDestinationUri(
statusCode: 302,
destinationUri: Configuration.Http.RemoteHttp11Server.EchoUri,
destinationUri: Configuration.Http.RemoteSecureHttp11Server.EchoUri,
hops: hops));

if (hops <= maxHops)
{
using (HttpResponseMessage response = await t)
{
Assert.Equal(HttpStatusCode.OK, response.StatusCode);
Assert.Equal(Configuration.Http.RemoteEchoServer, response.RequestMessage.RequestUri);
Assert.Equal(Configuration.Http.SecureRemoteEchoServer, response.RequestMessage.RequestUri);
}
}
else
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ public async Task NoCallback_ValidCertificate_SuccessAndExpectedPropertyBehavior

[OuterLoop("Uses external servers")]
[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/110578")]
public async Task UseCallback_NotSecureConnection_CallbackNotCalled()
{
HttpClientHandler handler = CreateHttpClientHandler();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public async Task NoCallback_ValidCertificate_CallbackNotCalled()

[OuterLoop]
[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/110578")]
public async Task UseCallback_NotSecureConnection_CallbackNotCalled()
{
var handler = new WinHttpHandler();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public async Task GetAsync_RedirectResponseHasCookie_CookieSentToFinalUri(
string cookieName,
string cookieValue)
{
Uri uri = System.Net.Test.Common.Configuration.Http.RemoteHttp11Server.RedirectUriForDestinationUri(302, System.Net.Test.Common.Configuration.Http.RemoteEchoServer, 1);
Uri uri = System.Net.Test.Common.Configuration.Http.RemoteSecureHttp11Server.RedirectUriForDestinationUri(302, System.Net.Test.Common.Configuration.Http.SecureRemoteEchoServer, 1);
var handler = new WinHttpHandler();
handler.WindowsProxyUsePolicy = WindowsProxyUsePolicy.UseWinInetProxy;
handler.CookieUsePolicy = cookieUsePolicy;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,7 @@ public Task RequestDuration_Redirect_RecordedForEachHttpSpan()
});

}, options: new GenericLoopbackOptions() { UseSsl = true });
}, options: new GenericLoopbackOptions() { UseSsl = false});
}, options: new GenericLoopbackOptions() { UseSsl = false });
}

[Fact]
Expand Down
Loading