Open pascalberger opened 4 years ago
@pascalberger this isn't any sort of deadlock issue with the way that we were calling GetAwaiter().GetResult()
is it?
@pascalberger this isn't any sort of deadlock issue with the way that we were calling
GetAwaiter().GetResult()
is it?
Shouldn't be a problem. Will need to check if this is an issue I can do anything about, or if it's in Razor or Roslyn Scripting. I'll set up some unit tests and see. Until then, disable parallelization.
Using Gazorator in XUnit test cases leads and running from Visual Studio Test Explorer as part of https://github.com/cake-contrib/Cake.Issues.Reporting.Generic/pull/276/ leads to Visual Studio being blocked. Running single test cases work, but running multiple test with XUnit default settings, which runs them in parallel doesn't work.
Forcing XUnit to run tests sequentually works around the issue: