8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 974bf01 commit 00c1b75Copy full SHA for 00c1b75
src/Symfony/Component/Process/Tests/AbstractProcessTest.php
@@ -77,9 +77,8 @@ public function testStopWithTimeoutIsActuallyWorking()
77
while ($p->isRunning()) {
78
usleep(1000);
79
}
80
- $duration = microtime(true) - $start;
81
82
- $this->assertLessThan(1.8, $duration);
+ $this->assertLessThan(4, microtime(true) - $start);
83
84
85
public function testAllOutputIsActuallyReadOnTermination()
@@ -396,7 +395,7 @@ public function testStartIsNonBlocking()
396
395
$start = microtime(true);
397
$process->start();
398
$end = microtime(true);
399
- $this->assertLessThan(0.2, $end-$start);
+ $this->assertLessThan(1, $end - $start);
400
$process->wait();
401
402
0 commit comments