Skip to content

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

Description

@mdh1418

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

Activity

  1. added this to the 6.0.0 milestone on Jun 24, 2020
  2. removed
    untriagedNew issue has not been triaged by the area owner
    on Jun 24, 2020
  3. changed the title [-]System.Net tests fail on Android[/-] [+]System.Net.Requests.Tests tests fail on Android[/+] on Mar 31, 2021
  4. modified the milestones: 6.0.0, 7.0.0 on Jul 30, 2021
  5. simonrozsival commented on Jul 1, 2022

    @simonrozsival
    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

  6. ghost added
    in-prThere is an active PR which will close this issue when it is merged
    on Jul 4, 2022
  7. ghost removed
    in-prThere is an active PR which will close this issue when it is merged
    on Jul 20, 2022
  8. ghost locked as resolved and limited conversation to collaborators on Aug 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions