8000 [Finder] [Iterator] Make the tests less fragile by AlphaStream · Pull Request #12028 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[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

Closed
wants to merge 4 commits into from
Closed

[Finder] [Iterator] Make the tests less fragile #12028

wants to merge 4 commits into from

Conversation

AlphaStream
Copy link
Contributor

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]

[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()
{

Copy link
Member

Choose a reason for hiding this comment

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

should be reverted

@fabpot
Copy link
Member
fabpot commented Sep 26, 2014

Thank you @AlphaStream.

fabpot added a commit that referenced this pull request Sep 26, 2014
…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
@fabpot fabpot closed this Sep 26, 2014
@AlphaStream
Copy link
Contributor Author

Thanks for merging it @fabpot . Is there a reason you merged in into 2.3, not master?

@fabpot
Copy link
Member
fabpot commented Sep 26, 2014

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.

@AlphaStream
Copy link
Contributor Author

Got it! Is there any rough estimate when the fix may show up in 2.4? Such as, within a day/week/month?

@fabpot
Copy link
Member
fabpot commented Sep 27, 2014

couple of days

@AlphaStream
Copy link
Contributor Author

Great, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0