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:
parent
4cbdddd052
commit
7ef75bd5db
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user