1
0
mirror of https://github.com/danog/parallel.git synced 2024-11-26 20:34:40 +01:00

Reduce test iterations

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.
This commit is contained in:
Aaron Piotrowski 2018-01-22 17:59:13 -06:00
parent 4cbdddd052
commit 7ef75bd5db
No known key found for this signature in database
GPG Key ID: ADD1EF783EDE9EEB

View File

@ -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);