Skip to content

Commit

Permalink
Reduce test iterations
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
trowski committed Jan 22, 2018
1 parent 4cbdddd commit 7ef75bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Worker/AbstractPoolTest.php
Expand Up @@ -134,7 +134,7 @@ public function testBusyPool() {
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);
Expand Down

0 comments on commit 7ef75bd

Please sign in to comment.