From 7ef75bd5dbcf575c302210578fec0148c0340595 Mon Sep 17 00:00:00 2001 From: Aaron Piotrowski Date: Mon, 22 Jan 2018 17:59:13 -0600 Subject: [PATCH] Reduce test iterations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit pthreads seems to be having trouble with such quick generation of threads. Will look into what may be happening hereā€¦ but the number of iterations isn't terribly important for the modified test. --- test/Worker/AbstractPoolTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Worker/AbstractPoolTest.php b/test/Worker/AbstractPoolTest.php index c53df2e..ffe5a06 100644 --- a/test/Worker/AbstractPoolTest.php +++ b/test/Worker/AbstractPoolTest.php @@ -134,7 +134,7 @@ abstract class AbstractPoolTest extends TestCase { public function testCleanGarbageCollection() { // See https://github.com/amphp/parallel-functions/issues/5 Loop::run(function () { - for ($i = 0; $i < 15; $i++) { + for ($i = 0; $i < 3; $i++) { $pool = $this->createPool(32); $values = \range(1, 50);