Skip to content

HHVM test suite compatibility #254

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

Merged
merged 7 commits into from
Sep 28, 2016
Merged

HHVM test suite compatibility #254

merged 7 commits into from
Sep 28, 2016

Conversation

jmikola
Copy link
Member

@jmikola jmikola commented Sep 27, 2016

This also adds a change that was missing from #253 (for PHPLIB-222).

HHVM does not support comparing ObjectIDs with the equality operator (i.e. `==`). For documents, which may contain arbitrary BSON types, converting to JSON is the easiest solution. The documents will then be compared as extended JSON and produce a readable diff on error.
GridFS streams do not yet support seeking (PHPLIB-213), and HHVM requires a stream_seek() implementation in order to pass a non-negative offset to stream_get_contents().
@jmikola jmikola merged commit b251eb2 into mongodb:master Sep 28, 2016
jmikola added a commit that referenced this pull request Sep 28, 2016
@jmikola jmikola deleted the hhvm-tests branch September 28, 2016 17:54
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.

1 participant