-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Finder] [Iterator] Make the tests less fragile #12028
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Finder] [Iterator] Make the tests less fragile #12028
Conversation
[Finder] Modified the Iterator tests so that they assert only on what's actually being tested. In particular, the tests were checking the order of the files that were created at the same time after sorting them by date. This change is a part of the effort to make Symfony successfully pass tests on HHVM
} | ||
|
||
public function getAcceptData() | ||
{ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be reverted
Thank you @AlphaStream. |
…ream) This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #12028). Discussion ---------- [Finder] [Iterator] Make the tests less fragile Modified the Iterator tests so that they assert only on what's actually being tested. In particular, the tests were checking the order of the files [that were created virtually simultaneously] after sorting them by date. This change is a part of the effort to make Symfony successfully pass tests on HHVM | Q | A | ------------- | --- | Bug fix? | [no] | New feature? | [no] | BC breaks? | [no] | Deprecations? | [no] | Tests pass? | [yes] | Fixed tickets | [none] | License | MIT | Doc PR | [none] Commits ------- 10f9135 [Finder] [Iterator] Make the tests less fragile
Thanks for merging it @fabpot . Is there a reason you merged in into 2.3, not master? |
Because we always merge bug fixes in the oldest and still maintained branch. Then, on a regular basis, oldest branches are merged into newer ones. |
Got it! Is there any rough estimate when the fix may show up in 2.4? Such as, within a day/week/month? |
couple of days |
Great, thanks. |
Modified the Iterator tests so that they assert only on what's actually being tested. In particular, the tests were checking the order of the files [that were created virtually simultaneously] after sorting them by date. This change is a part of the effort to make Symfony successfully pass tests on HHVM