8000 minor #57767 [Process] Fix ProcessTest - testIgnoringSignal for local… · symfony/symfony@1dbc465 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1dbc465

Browse files
minor #57767 [Process] Fix ProcessTest - testIgnoringSignal for local (thibaut22200)
This PR was merged into the 7.1 branch. Discussion ---------- [Process] Fix ProcessTest - testIgnoringSignal for local | Q | A | ------------- | --- | Branch? | 7.1 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | Fix Process test (testIgnoringSignal) | License | MIT Fix ProcessTest : testIgnoringSignal(). Tests on 2 independant env. The test was failed. Have to pass an array instead of string in the getProcess() Commits ------- 9567835 Fix ProcessTest - testIgnoringSignal for local
2 parents 67ac926 + 9567835 commit 1dbc465

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Process/Tests/ProcessTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1669,7 +1669,7 @@ public function testIgnoringSignal()
16691669
$this->markTestSkipped('pnctl extension is required.');
16701670
}
16711671

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

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

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

16901690
$process->start();
16911691
$process->stop(timeout: 0.2);

0 commit comments

Comments
 (0)
0