Browse Source

Skip ThreadPoolSchedulerTest.No_ThreadPool_Starvation_Dispose on CI. An equivalent test for DefaultScheduler is excluded already. The assertions made here is unjustifiable when tests are run in parallel and the ThreadPool is used by other concurrently running tests. An alternative would be to disable test parallelization completely.

Daniel C. Weber 7 years ago
parent
commit
577db3420d

+ 1 - 0
Rx.NET/Source/tests/Tests.System.Reactive/Tests/Concurrency/ThreadPoolSchedulerTest.cs

@@ -304,6 +304,7 @@ namespace ReactiveTests.Tests
 #endif
 #endif
 
 
 #if DESKTOPCLR
 #if DESKTOPCLR
+        [Trait("SkipCI", "true")]
         [Fact]
         [Fact]
         public void No_ThreadPool_Starvation_Dispose()
         public void No_ThreadPool_Starvation_Dispose()
         {
         {