File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1570,7 +1570,7 @@ public function testFailingProcessWithMultipleCallsToProcGetStatus()
1570
1570
*/
1571
1571
public function testLongRunningProcessWithMultipleCallsToProcGetStatus ()
1572
1572
{
1573
- $ process = $ this ->getProcess ('php -r "sleep(1); echo \' done \' ;" ' );
1573
+ $ process = $ this ->getProcess ('sleep 1 && echo "done" && php -r "exit(0) ;" ' );
1574
1574
$ process ->start (static function () use ($ process ) {
1575
1575
return $ process ->isRunning ();
1576
1576
});
@@ -1585,7 +1585,7 @@ public function testLongRunningProcessWithMultipleCallsToProcGetStatus()
1585
1585
*/
1586
1586
public function testLongRunningProcessWithMultipleCallsToProcGetStatusError ()
1587
1587
{
1588
- $ process = $ this ->getProcess ('php -r " sleep(1); echo \' failure \' ; exit(123);" ' );
1588
+ $ process = $ this ->getProcess ('sleep 1 && echo " failure" && php -r " exit(123);" ' );
1589
1589
$ process ->start (static function () use ($ process ) {
1590
1590
return $ process ->isRunning ();
1591
1591
});
You can’t perform that action at this time.
0 commit comments