-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Description
Some of the ProjectTemplates tests are failing in Helix on Windows platforms. See: https://dev.azure.com/dnceng/public/_build/results?buildId=1793028&view=ms.vss-test-web.build-test-results-tab.
Tests are failing with variations of the following error message: Expected <something> to have status 'OK' but it was 'NotFound'.
It's possible this is caused by the ASPNETCORE_ENVIRONMENT variable not getting set correctly. One of the failing tests is Microsoft.AspNetCore.Mvc.FunctionalTests.SimpleWithWebApplicationBuilderTests.DefaultEnvironment_Is_Development, and the logs of the failing tests list Hosting environment: Production even though ASPNETCORE_ENVIRONMENT should be getting set explicitly to Development in those tests: https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-aspnetcore-refs-pull-41573-merge-2d1b8917cccd4614ab/ProjectTemplates.Tests--net7.0/1/console.b5f7596f.log?helixlogtype=result