File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1625,7 +1625,7 @@ public function testFailingProcessWithMultipleCallsToProcGetStatus()
16251625 */
16261626 public function testLongRunningProcessWithMultipleCallsToProcGetStatus ()
16271627 {
1628- $ process = $ this ->getProcess ('php -r "sleep(1); echo \' done \' ;" ' );
1628+ $ process = $ this ->getProcess ('sleep 1 && echo "done" && php -r "exit(0) ;" ' );
16291629 $ process ->start (static function () use ($ process ) {
16301630 return $ process ->isRunning ();
16311631 });
@@ -1640,7 +1640,7 @@ public function testLongRunningProcessWithMultipleCallsToProcGetStatus()
16401640 */
16411641 public function testLongRunningProcessWithMultipleCallsToProcGetStatusError ()
16421642 {
1643- $ process = $ this ->getProcess ('php -r " sleep(1); echo \' failure \' ; exit(123);" ' );
1643+ $ process = $ this ->getProcess ('sleep 1 && echo " failure" && php -r " exit(123);" ' );
16441644 $ process ->start (static function () use ($ process ) {
16451645 return $ process ->isRunning ();
16461646 });
You can’t perform that action at this time.
0 commit comments