Files
dotnet-runtime/src/libraries/System.Net.Http/tests/FunctionalTests
stephentoub 5ffbace49b Fix HttpClient test hanging on single core
One of the HttpClient client tests hangs on a machine with a single core.
xunit by default uses a SynchronizationContext that has N threads to do
work, where N defaults to Environment.ProcessorCount.  Thus on a single
core machine, there's only one thread available to run tests, and if that
thread blocks waiting for an async operation that'll schedule work back to
that context, it'll deadlock.


Commit migrated from https://github.com/dotnet/corefx/commit/916798757c122b81e61666c4f0af0c446d378824
2016-05-11 15:05:14 -04:00
..
2016-01-27 08:02:28 -08:00
2016-04-11 21:59:22 -04:00
2016-01-27 08:02:28 -08:00
2016-01-27 08:02:28 -08:00