Uh oh!
There was an error while loading. Please reload this page.
[Android] Fix some System.Net tests - #71385
Conversation
…tem-net-security-tests-on-android
ghost
commented
Jun 28, 2022
Tagging subscribers to this area: @dotnet/ncl, @vcsjones Issue DetailsThis PR fixes most of the tests that were disabled in #68206. We use some self-signed certificates in our tests and Android doesn't allow traffic to the servers using those certificates. In order to get the tests to work, we need to configure include the public keys in the .apk we build and use Network Security Configuration to trust our self-signed certificates.
|
simonrozsival
commented
Jun 28, 2022
/azp run runtime-extra-platforms |
|
Azure Pipelines successfully started running 1 pipeline(s). |
simonrozsival
commented
Jun 29, 2022
The tests pass on Android devices (arm and arm64 lanes) and fail on emulators (x86 and x64 lanes). I'm converting this PR to a draft until I figure out why. |
simonrozsival
commented
Jul 1, 2022
/azp run runtime-extra-platforms |
|
Azure Pipelines successfully started running 1 pipeline(s). |
…logs" This reverts commit 039d051.
simonrozsival
commented
Jul 4, 2022
/azp run runtime-extra-platforms |
|
Azure Pipelines successfully started running 1 pipeline(s). |
…tem-net-security-tests-on-android
simonrozsival
commented
Jul 19, 2022
/azp run runtime-extra-platforms |
1 similar comment
simonrozsival
commented
Jul 19, 2022
/azp run runtime-extra-platforms |
|
Azure Pipelines successfully started running 1 pipeline(s). |
simonrozsival
commented
Jul 19, 2022
/azp run runtime-extra-platforms |
|
Azure Pipelines successfully started running 1 pipeline(s). |
…tem-net-security-tests-on-android
simonrozsival
commented
Jul 19, 2022
/azp run runtime-extra-platforms |
|
Azure Pipelines successfully started running 1 pipeline(s). |
simonrozsival
commented
Jul 20, 2022
All of the failing tests are know issues and are also happening on main. This PR is now ready to be merged. |
We use some self-signed certificates in our tests and Android doesn't allow traffic to the servers using those certificates. In order to get the tests to work, we need to configure include the public keys in the .apk we build and use Network Security Configuration to trust our self-signed certificates.
Closes#37087
Fixes most of #68206
Closes#69870
Fixes Android-related failures in #72209