JasperFx / alba

Easy integration testing for ASP.NET Core applications
https://jasperfx.github.io/alba
Apache License 2.0
405 stars 39 forks source link

Timeout using .NET 6 in run mode #98

Open dhaligas opened 2 years ago

dhaligas commented 2 years ago

FYI: there is a 5 second timeout when building the host in .NET 6 (Run not debug). I ran into this issue locally because we use AzureKeyVault on startup. The workaround is to run your tests in Debug for the time being. The dotnet team added an environment variable that should be available on the next .NET 6 release.

https://github.com/dotnet/runtime/pull/61688/files#diff-cc14cb45f5c4f280fd9753458d51804aeed784e4ee49299548ebf1d65bc94ed6L25