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

System.Net.Requests.Tests tests fail on Android #37087

Closed
28 tasks
mdh1418 opened this issue May 27, 2020 · 2 comments · Fixed by #71385
Closed
28 tasks

System.Net.Requests.Tests tests fail on Android #37087

mdh1418 opened this issue May 27, 2020 · 2 comments · Fixed by #71385

Comments

@mdh1418
Copy link
Member

mdh1418 commented May 27, 2020

Several tests from System.Net.Requests.Tests fail on Android

System.Net.Requests.Tests

  • System.Net.Tests.HttpWebRequestTest_Sync.SimpleScenario_UseGETVerb_Success(useSsl: True)
  • System.Net.Tests.HttpWebRequestTest_Sync.GetResponseAsync_UseDefaultCredentials_ExpectSuccess(useSsl: True)
  • System.Net.Tests.HttpWebRequestTest_Sync.GetResponseAsync_PostRequestStream_ContainsData(useSsl: True)
  • System.Net.Tests.HttpWebRequestTest_Sync.ResponseUri_GetResponseAsync_ExpectSameUri(useSsl: True)
  • System.Net.Tests.HttpWebRequestTest_Sync.Headers_GetResponseHeaders_ContainsExpectedValue(useSsl: True)
  • System.Net.Tests.HttpWebRequestTest_Sync.HaveResponse_GetResponseAsync_ExpectTrue(useSsl: True)
  • System.Net.Tests.HttpWebRequestTest_Sync.ContentType_AddHeaderWithNoContent_SendRequest_HeaderGetsSent(useSsl: True)
  • System.Net.Tests.HttpWebRequestTest_Sync.GetResponseAsync_GetResponseStream_ContainsHost(useSsl: True)
  • System.Net.Tests.HttpWebRequestTest_Sync.SimpleScenario_UsePOSTVerb_Success(useSsl: True)
  • System.Net.Tests.HttpWebRequestTest_Sync.ContentLength_Get_ExpectSameAsGetResponseStream(useSsl: True)
  • System.Net.Tests.SyncFileWebRequestTestBase.RequestAfterResponse_throws
  • System.Net.Tests.SyncFileWebRequestTestBase.WriteThenReadFile_WriteAccessResultsInNullResponseStream
  • System.Net.Tests.SyncFileWebRequestTestBase.ReadFile_ContainsExpectedContent
  • System.Net.Tests.SyncFileWebRequestTestBase.WriteFile_ContainsExpectedContent
  • System.Net.Tests.HttpWebRequestTest_Async.GetResponseAsync_PostRequestStream_ContainsData(useSsl: True)
  • System.Net.Tests.HttpWebRequestTest_Async.HaveResponse_GetResponseAsync_ExpectTrue(useSsl: True)
  • System.Net.Tests.HttpWebRequestTest_Async.ResponseUri_GetResponseAsync_ExpectSameUri(useSsl: True)
  • System.Net.Tests.HttpWebRequestTest_Async.GetResponseAsync_UseDefaultCredentials_ExpectSuccess(useSsl: True)
  • System.Net.Tests.HttpWebRequestTest_Async.GetResponseAsync_GetResponseStream_ContainsHost(useSsl: True)
  • System.Net.Tests.HttpWebRequestTest_Async.SimpleScenario_UseGETVerb_Success(useSsl: True)
  • System.Net.Tests.HttpWebRequestTest_Async.Headers_GetResponseHeaders_ContainsExpectedValue(useSsl: True)
  • System.Net.Tests.HttpWebRequestTest_Async.ContentType_AddHeaderWithNoContent_SendRequest_HeaderGetsSent(useSsl: True)
  • System.Net.Tests.HttpWebRequestTest_Async.ContentLength_Get_ExpectSameAsGetResponseStream(useSsl: True)
  • System.Net.Tests.HttpWebRequestTest_Async.SimpleScenario_UsePOSTVerb_Success(useSsl: True)
  • System.Net.Tests.LoggingTest.EventSource_ExistsWithCorrectId
  • System.Net.Tests.HttpWebRequestTest_Async.HttpWebRequest_Serialize_Fails
  • System.Net.Tests.HttpWebResponseHeaderTest.HttpWebResponse_Serialize_ExpectedResult
  • System.Net.Tests.HttpWebRequestTest_Sync.HttpWebRequest_Serialize_Fails

Edit: Updated based on #50095

@ghost
Copy link

ghost commented May 27, 2020

Tagging subscribers to this area: @dotnet/ncl
Notify danmosemsft if you want to be subscribed.

@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added the untriaged New issue has not been triaged by the area owner label May 27, 2020
@marek-safar marek-safar added this to the 6.0.0 milestone Jun 24, 2020
@marek-safar marek-safar removed the untriaged New issue has not been triaged by the area owner label Jun 24, 2020
@mdh1418 mdh1418 changed the title System.Net tests fail on Android System.Net.Requests.Tests tests fail on Android Mar 31, 2021
@steveisok steveisok modified the milestones: 6.0.0, 7.0.0 Jul 30, 2021
@simonrozsival
Copy link
Member

Judging by (useSsl: True) being part of most of the failing tests and no False counterparts failing, this could be the same problem with self-signed certificates on Android as I'm trying to fix with #71385

@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Jul 4, 2022
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Jul 20, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Aug 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants