Skip to content

PHPC-578: phongo_execute_command() should still throw ExecutionTimeoutException #809

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 2 commits into from
Apr 16, 2018

Conversation

jmikola
Copy link
Member

@jmikola jmikola commented Apr 16, 2018

https://jira.mongodb.org/browse/PHPC-578

This fixes an inadvertent side effect of 4b70d9b, which caused test failures for standalone/executiontimeoutexception-002.phpt.

@kvwalker: Before you review this, please see if that test fails or is skipped on your local environment. I imagine it might have been skipped for some reason (it certainly is on Travis, as the MongoDB servers there don't start with test command enabled).

@jmikola jmikola requested a review from kvwalker April 16, 2018 17:15
@kvwalker
Copy link
Contributor

That test does fail for me locally with ALMOST: Got MongoDB\Driver\Exception\CommandException (operation exceeded time limit) - expected MongoDB\Driver\Exception\ExecutionTimeoutException. I must not have caught that when I was testing 4b70d9b. After your fix, it passes.

@jmikola jmikola force-pushed the phpc-578-exceededtimelimit branch from 335710a to c154b49 Compare April 16, 2018 21:03
@jmikola jmikola merged commit c154b49 into mongodb:master Apr 16, 2018
jmikola added a commit that referenced this pull request Apr 16, 2018
@jmikola jmikola deleted the phpc-578-exceededtimelimit branch April 16, 2018 21:03
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.

2 participants