Skip to content

failure in CreateDefaultBuilder_ConfigJsonDoesReload #94075

Open
@danmoseley

Description

@danmoseley

Built 1d43977 on Windows, ran all tests, this failed

      <test name="Microsoft.Extensions.Hosting.Tests.HostTests.CreateDefaultBuilder_ConfigJsonDoesReload" type="Microsoft.Extensions.Hosting.Tests.HostTests" method="CreateDefaultBuilder_ConfigJsonDoesReload" time="11.237517" result="Fail">
        <failure exception-type="Xunit.Sdk.EqualException">
          <message><![CDATA[Assert.Equal() Failure: Strings differ\r\n                               ↓ (pos 20)\r\nExpected: \"Hello ASP.NET Core: 7796a03e9f744e68b6a97\"···\r\nActual:   \"Hello ASP.NET Core: 26ec8c29bc7042d3b9c86\"···\r\n                               ↑ (pos 20)]]></message>
          <stack-trace><![CDATA[   at Microsoft.Extensions.Hosting.Tests.HostTests.CreateDefaultBuilder_ConfigJsonDoesReload() in C:\git\runtime\src\libraries\Microsoft.Extensions.Hosting\tests\UnitTests\HostTests.cs:line 361
--- End of stack trace from previous location ---]]></stack-trace>
        </failure>
      </test>

It passes when I run it again several times. Perhaps flakiness in file change events ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions