diff options
author | dotnet-bot <dotnet-bot@microsoft.com> | 2022-03-11 23:17:42 +0300 |
---|---|---|
committer | dotnet-bot <dotnet-bot@microsoft.com> | 2022-03-11 23:17:42 +0300 |
commit | 7a7c54b49a7d8e89d335d5d9ad08a0a8ba2ff643 (patch) | |
tree | cf4c4bed69a8fb93c74dea7a144cc44f67196a90 | |
parent | 8d7b5621b98381913e7156e22c2741f580c9a214 (diff) | |
parent | d0c82a380f3ce4069822f9c2038bc09cf433cabb (diff) |
Merge in 'release/6.0' changes
-rw-r--r-- | src/libraries/System.Net.Security/tests/FunctionalTests/ServerAsyncAuthenticateTest.cs | 2 | ||||
-rw-r--r-- | src/libraries/System.Net.Security/tests/FunctionalTests/TestConfiguration.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libraries/System.Net.Security/tests/FunctionalTests/ServerAsyncAuthenticateTest.cs b/src/libraries/System.Net.Security/tests/FunctionalTests/ServerAsyncAuthenticateTest.cs index 73d480a3048..345cfd41013 100644 --- a/src/libraries/System.Net.Security/tests/FunctionalTests/ServerAsyncAuthenticateTest.cs +++ b/src/libraries/System.Net.Security/tests/FunctionalTests/ServerAsyncAuthenticateTest.cs @@ -387,7 +387,7 @@ namespace System.Net.Security.Tests await clientAuthentication.WaitAsync(TestConfiguration.PassingTestTimeout); _logVerbose.WriteLine("ServerAsyncAuthenticateTest.clientAuthentication complete."); } - catch (Exception ex) + catch (AuthenticationException ex) { // Ignore client-side errors: we're only interested in server-side behavior. _log.WriteLine("Client exception : " + ex); diff --git a/src/libraries/System.Net.Security/tests/FunctionalTests/TestConfiguration.cs b/src/libraries/System.Net.Security/tests/FunctionalTests/TestConfiguration.cs index 4bd1b0ee30f..82cbe9f14f8 100644 --- a/src/libraries/System.Net.Security/tests/FunctionalTests/TestConfiguration.cs +++ b/src/libraries/System.Net.Security/tests/FunctionalTests/TestConfiguration.cs @@ -13,7 +13,7 @@ namespace System.Net.Security.Tests { internal static class TestConfiguration { - public const int PassingTestTimeoutMilliseconds = 4 * 60 * 1000; + public const int PassingTestTimeoutMilliseconds = 1 * 60 * 1000; public static TimeSpan PassingTestTimeout => TimeSpan.FromMilliseconds(PassingTestTimeoutMilliseconds); public const string Realm = "TEST.COREFX.NET"; |