[Release/6.0] Backport test fixes (#68332)
authorRadek Zikmund <32671551+rzikm@users.noreply.github.com>
Tue, 3 May 2022 23:34:22 +0000 (16:34 -0700)
committerGitHub <noreply@github.com>
Tue, 3 May 2022 23:34:22 +0000 (16:34 -0700)
commit59bbb1fc6a3d990d1c9ee87df6207c29e36ad30a
tree6a60a0c54eb04bb4542c49076cdd7f83e5bcdbe6
parent31c3ba9ea171e11fbfcbe91cbc0ff8401022a2a8
[Release/6.0] Backport test fixes (#68332)

* Resolve System.Net.Security.Tests.LoggingTest SkipTestException failure (#65322)

* improve Tls12 detection on Windows7 (#67935)

* disable Tls 1.0 and 1.1 tests on new Windows (#68083)

* Don't throw from RemoteExecutor on SkipTestExceptions (#65105)

* update SSL tests to deal better with disabled protocols (#65120)

* update SSL tests to deal better with disabled protocols

* Improve detection of Null encryption on Windows

* update expectation for Mismatched protocols

* update detection

* wrap win32 exception

* update ProtocolMismatchData sets

* remove debug print

* final cleanup

* generate mismatch data

* avoid SslProtocols.Default

Co-authored-by: Miha Zupan <mihazupan.zupan1@gmail.com>
Co-authored-by: Tomas Weinfurt <tweinfurt@yahoo.com>
src/libraries/Common/tests/System/Net/SslProtocolSupport.cs
src/libraries/Common/tests/TestUtilities/System/PlatformDetection.cs
src/libraries/System.Net.Security/src/System/Net/Security/SslStreamPal.Windows.cs
src/libraries/System.Net.Security/tests/FunctionalTests/ClientAsyncAuthenticateTest.cs
src/libraries/System.Net.Security/tests/FunctionalTests/LoggingTest.cs
src/libraries/System.Net.Security/tests/FunctionalTests/ServerAsyncAuthenticateTest.cs
src/libraries/System.Net.Security/tests/FunctionalTests/ServerNoEncryptionTest.cs
src/libraries/System.Net.Security/tests/FunctionalTests/SslStreamStreamToStreamTest.cs
src/libraries/System.Net.Security/tests/FunctionalTests/TelemetryTest.cs
src/libraries/System.Net.Security/tests/FunctionalTests/TestConfiguration.cs