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 @@ -1582,7 +1582,7 @@ public function testFailingProcessWithMultipleCallsToProcGetStatus()
15821582 */
15831583 public function testLongRunningProcessWithMultipleCallsToProcGetStatus ()
15841584 {
1585- $ process = $ this ->getProcess ('php -r "sleep(1); echo \' done \' ;" ' );
1585+ $ process = $ this ->getProcess ('sleep 1 && echo "done" && php -r "exit(0) ;" ' );
15861586 $ process ->start (static function () use ($ process ) {
15871587 return $ process ->isRunning ();
15881588 });
@@ -1597,7 +1597,7 @@ public function testLongRunningProcessWithMultipleCallsToProcGetStatus()
15971597 */
15981598 public function testLongRunningProcessWithMultipleCallsToProcGetStatusError ()
15991599 {
1600- $ process = $ this ->getProcess ('php -r " sleep(1); echo \' failure \' ; exit(123);" ' );
1600+ $ process = $ this ->getProcess ('sleep 1 && echo " failure" && php -r " exit(123);" ' );
16011601 $ process ->start (static function () use ($ process ) {
16021602 return $ process ->isRunning ();
16031603 });
You can’t perform that action at this time.
0 commit comments