We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6bd9b33 commit 2bdd5a9Copy full SHA for 2bdd5a9
1 file changed
Core/Cleipnir.ResilientFunctions.Tests/TestSetup.cs
@@ -1,18 +1,3 @@
1
-using System.Threading;
2
using Microsoft.VisualStudio.TestTools.UnitTesting;
3
4
[assembly: Parallelize(Workers = 0, Scope = ExecutionScope.MethodLevel)]
5
-
6
-[TestClass]
7
-public static class TestSetup
8
-{
9
- [AssemblyInitialize]
10
- public static void Initialize(TestContext context)
11
- {
12
- // MSTest parallelizes test methods on the threadpool, and many tests
13
- // also spawn background Task.Run loops (FetchLoop, watchdogs). Without
14
- // a warm pool, those continuations queue behind tests and a 5s
15
- // Completion timeout can fire before a 250ms FetchLoop iteration runs.
16
- ThreadPool.SetMinThreads(128, 128);
17
- }
18
-}
0 commit comments