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

SetCookies_Success test is failing deterministically in CI #53931

Closed
ViktorHofer opened this issue Jun 9, 2021 · 1 comment
Closed

SetCookies_Success test is failing deterministically in CI #53931

ViktorHofer opened this issue Jun 9, 2021 · 1 comment
Milestone

Comments

@ViktorHofer
Copy link
Member

Example build: https://dev.azure.com/dnceng/public/_build/results?buildId=1178604

  Discovering: System.Net.Primitives.UnitTests.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.Net.Primitives.UnitTests.Tests (found 36 test cases)
  Starting:    System.Net.Primitives.UnitTests.Tests (parallel test collections = on, max threads = 2)
    System.Net.Primitives.Unit.Tests.CookieContainerTest.SetCookies_Success(uri: http://uri.com/, cookieHeader: "name98=value98; path=/; domain=.uri.com; expires=W"..., expected: [name99=value99, name98=value98]) [FAIL]
      Assert.Equal() Failure
      Expected: 2
      Actual:   1
      Stack Trace:
        /_/src/libraries/System.Net.Primitives/tests/UnitTests/CookieContainerTest.cs(783,0): at System.Net.Primitives.Unit.Tests.CookieContainerTest.VerifyGetCookies(CookieContainer cc1, Uri uri, Cookie[] expected)
        /_/src/libraries/System.Net.Primitives/tests/UnitTests/CookieContainerTest.cs(376,0): at System.Net.Primitives.Unit.Tests.CookieContainerTest.SetCookies_Success(Uri uri, String cookieHeader, Cookie[] expected)
  Finished:    System.Net.Primitives.UnitTests.Tests
=== TEST EXECUTION SUMMARY ===
   System.Net.Primitives.UnitTests.Tests  Total: 151, Errors: 0, Failed: 1, Skipped: 0, Time: 4.457s

Will disable the test to unblock CI.

cc @dotnet/ncl

@ghost
Copy link

ghost commented Jun 9, 2021

Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

Issue Details

Example build: https://dev.azure.com/dnceng/public/_build/results?buildId=1178604

  Discovering: System.Net.Primitives.UnitTests.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.Net.Primitives.UnitTests.Tests (found 36 test cases)
  Starting:    System.Net.Primitives.UnitTests.Tests (parallel test collections = on, max threads = 2)
    System.Net.Primitives.Unit.Tests.CookieContainerTest.SetCookies_Success(uri: http://uri.com/, cookieHeader: "name98=value98; path=/; domain=.uri.com; expires=W"..., expected: [name99=value99, name98=value98]) [FAIL]
      Assert.Equal() Failure
      Expected: 2
      Actual:   1
      Stack Trace:
        /_/src/libraries/System.Net.Primitives/tests/UnitTests/CookieContainerTest.cs(783,0): at System.Net.Primitives.Unit.Tests.CookieContainerTest.VerifyGetCookies(CookieContainer cc1, Uri uri, Cookie[] expected)
        /_/src/libraries/System.Net.Primitives/tests/UnitTests/CookieContainerTest.cs(376,0): at System.Net.Primitives.Unit.Tests.CookieContainerTest.SetCookies_Success(Uri uri, String cookieHeader, Cookie[] expected)
  Finished:    System.Net.Primitives.UnitTests.Tests
=== TEST EXECUTION SUMMARY ===
   System.Net.Primitives.UnitTests.Tests  Total: 151, Errors: 0, Failed: 1, Skipped: 0, Time: 4.457s

Will disable the test to unblock CI.

cc @dotnet/ncl

Author: ViktorHofer
Assignees: -
Labels:

area-System.Net

Milestone: -

@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged New issue has not been triaged by the area owner label Jun 9, 2021
ViktorHofer added a commit that referenced this issue Jun 9, 2021
@akoeplinger akoeplinger removed the untriaged New issue has not been triaged by the area owner label Jun 10, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Jul 10, 2021
@karelz karelz added this to the 6.0.0 milestone Jul 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants