Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Process] Fix infinite waiting for stopped process#31568

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
nicolas-grekas merged 1 commit intosymfony:3.4frommshavliuk:3.4
May 22, 2019

Conversation

@mshavliuk
Copy link

QA
Branch?3.4
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#31548
LicenseMIT

Description

Add a regression testSymfony\Component\Process\Tests\ProcessTest:testWaitStoppedDeadProcess to reproduce the related bug#31548 . It consists of one fileErrorProcessInitiator.php, which executes as another process because otherwise ifProcess::wait() goes in an infinite loop (which is test checks) it will be impossible to handle it and stop test correctly.

The second commit contains bug fix, which is only$this->checkTimeout(); call, that prevents infinite loop.

@mshavliukmshavliuk changed the title3.4[Process] Fix infinite waiting for stopped processMay 21, 2019
@nicolas-grekasnicolas-grekas added this to the3.4 milestoneMay 22, 2019
@nicolas-grekas
Copy link
Member

Thank you@mshavliuk.

@nicolas-grekasnicolas-grekas merged commit6b9ee1e intosymfony:3.4May 22, 2019
nicolas-grekas added a commit that referenced this pull requestMay 22, 2019
…iuk)This PR was squashed before being merged into the 3.4 branch (closes#31568).Discussion----------[Process] Fix infinite waiting for stopped process| Q             | A| ------------- | ---| Branch?       | 3.4| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#31548| License       | MIT### DescriptionAdd a regression test `Symfony\Component\Process\Tests\ProcessTest:testWaitStoppedDeadProcess` to reproduce the related bug#31548 . It consists of one file `ErrorProcessInitiator.php`, which executes as another process because otherwise if `Process::wait()` goes in an infinite loop (which is test checks) it will be impossible to handle it and stop test correctly.The second commit contains bug fix, which is only `$this->checkTimeout();` call, that prevents infinite loop.Commits-------6b9ee1e [Process] Fix infinite waiting for stopped process
This was referencedMay 28, 2019
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

+1 more reviewer

@SimperfitSimperfitSimperfit approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

3.4

Development

Successfully merging this pull request may close these issues.

4 participants

@mshavliuk@nicolas-grekas@Simperfit@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp