diff --git a/src/tests/Helios.DedicatedThreadPool.Tests/DedicatedThreadPoolTaskSchedulerTests.cs b/src/tests/Helios.DedicatedThreadPool.Tests/DedicatedThreadPoolTaskSchedulerTests.cs index 329dd87..2da5b99 100644 --- a/src/tests/Helios.DedicatedThreadPool.Tests/DedicatedThreadPoolTaskSchedulerTests.cs +++ b/src/tests/Helios.DedicatedThreadPool.Tests/DedicatedThreadPoolTaskSchedulerTests.cs @@ -17,7 +17,7 @@ public class DedicatedThreadPoolTaskSchedulerTests [SetUp] public void SetUp() { - Pool = new DedicatedThreadPool(new DedicatedThreadPoolSettings(3)); + Pool = new DedicatedThreadPool(new DedicatedThreadPoolSettings(Environment.ProcessorCount)); Scheduler = new DedicatedThreadPoolTaskScheduler(Pool); Factory = new TaskFactory(Scheduler); }