diff Implab.Test/AsyncTests.cs @ 81:2c5631b43c7d v2

dispatch pool rewritten
author cin
date Fri, 26 Sep 2014 20:44:01 +0400
parents 4f20870d0816
children 4d308952fd5e
line wrap: on
line diff
--- a/Implab.Test/AsyncTests.cs	Fri Sep 26 03:32:34 2014 +0400
+++ b/Implab.Test/AsyncTests.cs	Fri Sep 26 20:44:01 2014 +0400
@@ -148,7 +148,7 @@
 
         [TestMethod]
         public void WorkerPoolSizeTest() {
-            var pool = new WorkerPool(5, 10, 0);
+            var pool = new WorkerPool(5, 10, 1);
 
             Assert.AreEqual(5, pool.PoolSize);
 
@@ -291,7 +291,7 @@
         [TestMethod]
         public void ChainedMapTest() {
 
-            using (var pool = new WorkerPool(0,10,100)) {
+            using (var pool = new WorkerPool(0,10,1)) {
                 const int count = 10000;
 
                 var args = new double[count];