mirror of
https://github.com/danog/process.git
synced 2024-11-26 12:14:43 +01:00
Await process start in test
This commit is contained in:
parent
a0abd4930a
commit
b88c6aef75
@ -221,7 +221,7 @@ class ProcessTest extends TestCase
|
||||
{
|
||||
Loop::run(function () {
|
||||
$process = new Process(self::CMD_PROCESS_SLOW);
|
||||
$process->start();
|
||||
yield $process->start();
|
||||
|
||||
yield new Delayed(100); // Give process a chance to start, otherwise a different error is thrown.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user