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

[BrowserKit][Bridge\PhpUnit] Handle deprecations triggered in separate processes#24548

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
fabpot merged 2 commits intosymfony:3.3fromnicolas-grekas:handle-isolated-deprec
Oct 13, 2017

Conversation

@nicolas-grekas
Copy link
Member

@nicolas-grekasnicolas-grekas commentedOct 13, 2017
edited
Loading

QA
Branch?3.3
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#23003,#16726
LicenseMIT
Doc PR-

As reported in#23003, deprecations triggered in process-isolated test cases are not gathered.
This caught us already: HttpFoundation is still using deprecated code paths, but we missed them because of that issue with the bridge.

Here is the fixed output:
capture du 2017-10-13 13-45-12

Credits to@paul-m for working on the issue first.

@nicolas-grekasnicolas-grekas added this to the3.3 milestoneOct 13, 2017
@nicolas-grekasnicolas-grekas changed the base branch frommaster to3.3October 13, 2017 11:47
@xabbuh
Copy link
Member

Can we fix the location that is reported (it's alwaysSymfonyTestsListener::endTest instead of the actual test case)?

@nicolas-grekas
Copy link
MemberAuthor

@xabbuh cross-process stack trace communication, not trivial to implement.
I'd like to merge this as is now, then fix the HttpFoundation layer.
Then we could improve this a bit. OK to you?

@nicolas-grekasnicolas-grekas changed the title[Bridge\PhpUnit] Handle deprecations triggered in separate processes[BrowserKit][Bridge\PhpUnit] Handle deprecations triggered in separate processesOct 13, 2017
@fabpot
Copy link
Member

Thank you@nicolas-grekas.

@fabpotfabpot merged commitca0fedd intosymfony:3.3Oct 13, 2017
fabpot added a commit that referenced this pull requestOct 13, 2017
… processes (paul-m)This PR was merged into the 3.3 branch.Discussion----------[Bridge\PhpUnit] Handle deprecations triggered in separate processes| Q             | A| ------------- | ---| Branch?       | 3.3| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#23003,#16726| License       | MIT| Doc PR        | -As reported in#23003, deprecations triggered in process-isolated test cases are not gathered.This caught us already: HttpFoundation is still using deprecated code paths, but we missed them because of that issue with the bridge.Here is the fixed output:![capture du 2017-10-13 13-45-12](https://user-images.githubusercontent.com/243674/31544827-fe7ffee0-b01c-11e7-8020-4001735ce7a3.png)Credits to@paul-m for working on the issue first.Commits-------ca0fedd [BrowserKit] Handle deprecations triggered in insulated requestsff379ef [Bridge\PhpUnit] Handle deprecations triggered in separate processes
@nicolas-grekasnicolas-grekas deleted the handle-isolated-deprec branchOctober 13, 2017 13:23
@nicolas-grekas
Copy link
MemberAuthor

FYI, fixes also BrowserKit:
capture du 2017-10-13 15-24-34

@paul-m
Copy link
Contributor

Thank you@fabpot and@nicolas-grekas!

nicolas-grekas added a commit that referenced this pull requestOct 24, 2017
…(xabbuh)This PR was merged into the 3.3 branch.Discussion----------[PhpUnitBridge] fix deprecation triggering test detection| Q             | A| ------------- | ---| Branch?       | 3.3| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#24548 (comment),#24568| License       | MIT| Doc PR        |Commits-------da617e8 fix deprecation triggering test detection
symfony-splitter pushed a commit to symfony/phpunit-bridge that referenced this pull requestOct 24, 2017
…(xabbuh)This PR was merged into the 3.3 branch.Discussion----------[PhpUnitBridge] fix deprecation triggering test detection| Q             | A| ------------- | ---| Branch?       | 3.3| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |symfony/symfony#24548 (comment), #24568| License       | MIT| Doc PR        |Commits-------da617e8 fix deprecation triggering test detection
@fabpotfabpot mentioned this pull requestNov 10, 2017
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

@xabbuhxabbuhxabbuh approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

3.3

Development

Successfully merging this pull request may close these issues.

5 participants

@nicolas-grekas@xabbuh@fabpot@paul-m@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp