Justus Greiber
Justus Greiber
> Could you please write down a failing test, so I could try from my side, before we dig into your changes - which supposed to fix the culture issue...
@hishamco Added the fix again 👍
We start a "real" web application with Kestrel for our UI tests and because Kestrel does not flow execution context from the servers startup to the connection accept loop I...
It seems to me that changing ````c# Task task = Task.Factory.StartNew(Run, CancellationToken.None, TaskCreationOptions.HideScheduler, taskScheduler).Unwrap(); ```` to ````c# Task task = await Task.Factory.StartNew(Run, CancellationToken.None, TaskCreationOptions.HideScheduler, taskScheduler); ```` solves the problem. But...
I would be very surprised if `IHostedService.StopAsync` is not called by the `IHost` itself (or if it is, that calling it twice changes anything) 🤔. If I remember correctly the...
Hi @Evangelink, physical CPU cores + hyper-threading "cores". If you look at Intel or AMD datasheets this is what they call total number of threads: https://www.intel.com/content/www/us/en/products/sku/230580/intel-core-i513500-processor-24m-cache-up-to-4-80-ghz/specifications.html https://www.amd.com/en/product/8456 It is my...
https://learn.microsoft.com/en-us/dotnet/api/system.environment.processorcount?view=net-7.0 > The number of logical processors on the machine. > If the process is running with CPU affinity, the number of processors that the process is affinitized to. >...
> But it seemed too easy to do from commandline via inline runsettings But this would not work inside the test explorer in VisualStudio, would it? Because this would be...