Skip to content
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

Accept host as list in config #19

Closed
2 tasks
bogdanciobanu opened this issue Jul 22, 2014 · 0 comments
Closed
2 tasks

Accept host as list in config #19

bogdanciobanu opened this issue Jul 22, 2014 · 0 comments
Assignees

Comments

@bogdanciobanu
Copy link
Contributor

Need

As a developer
I want to provide the 'host' value of a cluster in the config as a list of hosts
So that I can connect to replicaSets

Deliverables

Given I have an entry in the configuration file that sets 'host' to a list of hosts
When  I instantiate MongoPool
Then MongoPool will accept the config as valid

TODO

  • In _validate_config method if replicaSet is defined, assert check that host is a list.
  • Write test for this situation

#ETA 0p

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

No branches or pull requests

1 participant