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

[aspnetcore5] Microsoft.AspNetCore.Authentication.Test fails due to incorrect AppContext.BaseDirectory #1198

Open
vtikoo opened this issue Feb 9, 2022 · 1 comment
Labels
area/testing issues around tests and testing severity/low Severity: Low status/triaged Status: Triaged

Comments

@vtikoo
Copy link
Collaborator

vtikoo commented Feb 9, 2022

AppContext.BaseDirectory is the directory in which the managed assembly being run is situated at.
The test relies on this property to retreive the certificate files required in the test.

According to dotnet/runtime#7887, this is set by the host runner before invoking the managed code. In our case, probably the test runner needs to set this property.

@paulcallen paulcallen added area/testing issues around tests and testing severity/low Severity: Low status/triaged Status: Triaged labels Feb 14, 2022
@paulcallen
Copy link
Member

this looks more like a test environment problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/testing issues around tests and testing severity/low Severity: Low status/triaged Status: Triaged
Projects
None yet
Development

No branches or pull requests

2 participants