Skip to content

[1.4] Invalid namespace test needs STANDALONE #806

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 1 commit into from
Apr 16, 2018

Conversation

jmikola
Copy link
Member

@jmikola jmikola commented Apr 16, 2018

In b29c423 for PHPC-1057, Manager's execute methods were changed to perform server selection before invoking the phongo_execute functions, which throw InvalidArgumentExceptions such as this. Without a running standalone server, this test will encounter a server selection failure before we have a chance to parse the namespace string.

Coincidentally, this wasn't a problem for #797 and PHPC-1148 because the BulkWrite tests already depended on a server.

This may require additional changes to overcome 0b200dd#diff-55a0adcc57688dbb2268c375b99e3403 when merging to master. If so, I will include those changes in a separate commit.

@jmikola jmikola requested a review from kvwalker April 16, 2018 15:48
@jmikola jmikola changed the title Invalid namespace test needs STANDALONE [1.4] Invalid namespace test needs STANDALONE Apr 16, 2018
In b29c423 for PHPC-1057, Manager's execute methods were changed to perform server selection before invoking the phongo_execute functions, which throw InvalidArgumentExceptions such as this. Without a running standalone server, this test will encounter a server selection failure before we have a chance to parse the namespace string.
@jmikola jmikola force-pushed the 1.4-invalidnamespace branch from e404505 to 1904f7e Compare April 16, 2018 16:06
@jmikola jmikola merged commit 1904f7e into mongodb:v1.4 Apr 16, 2018
jmikola added a commit that referenced this pull request Apr 16, 2018
jmikola added a commit that referenced this pull request Apr 16, 2018
This reverts changes from 0b200dd and is related to PR #806 for v1.4.
@jmikola jmikola deleted the 1.4-invalidnamespace branch April 16, 2018 17:30
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