Skip to content
Permalink
Browse files

[Process] fixed some volatile tests

  • Loading branch information...
fabpot committed Sep 20, 2014
1 parent 974bf01 commit 00c1b759cd7eb9f8780f8cd1ab42dba4548439ab
Showing with 2 additions and 3 deletions.
  1. +2 −3 src/Symfony/Component/Process/Tests/AbstractProcessTest.php
@@ -77,9 +77,8 @@ public function testStopWithTimeoutIsActuallyWorking()
while ($p->isRunning()) {
usleep(1000);
}
$duration = microtime(true) - $start;
$this->assertLessThan(1.8, $duration);
$this->assertLessThan(4, microtime(true) - $start);
}
public function testAllOutputIsActuallyReadOnTermination()
@@ -396,7 +395,7 @@ public function testStartIsNonBlocking()
$start = microtime(true);
$process->start();
$end = microtime(true);
$this->assertLessThan(0.2, $end-$start);
$this->assertLessThan(1, $end - $start);
$process->wait();
}

0 comments on commit 00c1b75

Please sign in to comment.
You can’t perform that action at this time.