Skip to content

Conversation

@xabbuh
Copy link
Member

@xabbuh xabbuh commented Mar 24, 2024

Q A
Branch? 5.4
Bug fix? no
New feature? no
Deprecations? no
Issues
License MIT

same approach as #54360 (see https://github.com/symfony/symfony/actions/runs/8387183697/job/22968895866#step:8:2558 for a failure)

@xabbuh
Copy link
Member Author

xabbuh commented Mar 24, 2024

Status: Needs work

@xabbuh xabbuh force-pushed the filesystem-test-hardening branch 4 times, most recently from d574aa4 to faa7089 Compare March 25, 2024 22:40
fabpot added a commit that referenced this pull request Apr 1, 2024
…n (xabbuh)

This PR was merged into the 5.4 branch.

Discussion
----------

[HttpClient] stop all server processes after tests have run

| Q             | A
| ------------- | ---
| Branch?       | 5.4
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Issues        |
| License       | MIT

spotted while working on #54388

Commits
-------

36345e0 stop all server processes after tests have run
@xabbuh xabbuh force-pushed the filesystem-test-hardening branch 2 times, most recently from ba5672f to 1434f89 Compare April 1, 2024 20:21
@xabbuh
Copy link
Member Author

xabbuh commented Apr 1, 2024

Status: Needs Review

$process = new Process(array_merge([$finder->find(false)], $finder->findArguments(), ['-dopcache.enable=0', '-dvariables_order=EGPCS', '-S', '127.0.0.1:8057']));
$process->setWorkingDirectory(__DIR__.'/Fixtures/web');

$process->start();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't we stop the process in a finally block to ensure it is properly closed ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indeed, done

@xabbuh xabbuh force-pushed the filesystem-test-hardening branch from dfa7677 to 8a7813b Compare April 3, 2024 13:45
@xabbuh xabbuh merged commit 9b2436d into symfony:5.4 Apr 3, 2024
@xabbuh xabbuh deleted the filesystem-test-hardening branch April 3, 2024 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants