Fix testIdleTimeoutNotExceededWhenOutputIsSent on windows

This commit is contained in:
Romain Neutron 2013-09-07 16:39:40 +02:00 committed by Fabien Potencier
parent 69265876b1
commit 2370c798df
1 changed files with 1 additions and 1 deletions

View File

@ -507,7 +507,7 @@ abstract class AbstractProcessTest extends \PHPUnit_Framework_TestCase
*/
public function testIdleTimeoutNotExceededWhenOutputIsSent()
{
$process = $this->getProcess('echo "foo"; sleep 1; echo "foo"; sleep 1; echo "foo"; sleep 1; echo "foo"; sleep 5;');
$process = $this->getProcess('echo "foo" && sleep 1 && echo "foo" && sleep 1 && echo "foo" && sleep 1 && echo "foo" && sleep 5');
$process->setTimeout(5);
$process->setIdleTimeout(3);