Skip to content

Commit

Permalink
Fix ProcessTest - testIgnoringSignal for local
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaut22200 authored and nicolas-grekas committed Jul 26, 2024
1 parent febf901 commit 7f2f542
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/ProcessTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1669,7 +1669,7 @@ public function testIgnoringSignal()
$this->markTestSkipped('pnctl extension is required.');
}

$process = $this->getProcess('sleep 10');
$process = $this->getProcess(['sleep', '10']);
$process->setIgnoredSignals([\SIGTERM]);

$process->start();
Expand All @@ -1685,7 +1685,7 @@ public function testNotIgnoringSignal()
$this->markTestSkipped('pnctl extension is required.');
}

$process = $this->getProcess('sleep 10');
$process = $this->getProcess(['sleep', '10']);

$process->start();
$process->stop(timeout: 0.2);
Expand Down

0 comments on commit 7f2f542

Please sign in to comment.