Skip to content

Skipped: ProjectTemplates tests on Windows #41937

@MackinnonBuck

Description

@MackinnonBuck

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

#41936

Metadata

Metadata

Assignees

Labels

DoneThis issue has been fixedarea-mvcIncludes: MVC, Actions and Controllers, Localization, CORS, most templatesfeature-templatestest-failure

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions