8000 Reduce sleep to 1 second · symfony/symfony@a1a4250 · GitHub
[go: up one dir, main page]

Skip to content

Commit a1a4250

Browse files
committed
Reduce sleep to 1 second
1 parent fcd5a1d commit a1a4250

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Process/Tests/ProcessTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1570,7 +1570,7 @@ public function testFailingProcessWithMultipleCallsToProcGetStatus()
15701570
*/
15711571
public function testLongRunningProcessWithMultipleCallsToProcGetStatus()
15721572
{
1573-
$process = $this->getProcess('sleep 2; echo "done"');
1573+
$process = $this->getProcess('sleep 1; echo "done"');
15741574
$process->start(function () use ($process) {
15751575
$process->isRunning();
15761576
});
@@ -1585,7 +1585,7 @@ public function testLongRunningProcessWithMultipleCallsToProcGetStatus()
15851585
*/
15861586
public function testLongRunningProcessWithMultipleCallsToProcGetStatusError()
15871587
{
1588-
$process = $this->getProcess('sleep 2; echo "failure"; exit 123');
1588+
$process = $this->getProcess('sleep 1; echo "failure"; exit 123');
15891589
$process->start(function () use ($process) {
15901590
$process->isRunning();
15911591
});

0 commit comments

Comments
 (0)
0