12 Commits

Author SHA1 Message Date
vrde
441ad914cf
Improve test coverage 2017-03-28 11:24:16 +02:00
Thomas Conte
550b9cb804 Fix unit test 2017-03-17 13:07:15 +01:00
Thomas Conte
8526246f78 Fix unit test 2017-03-17 10:01:58 +01:00
Sylvain Bellemare
72ba9761d4 Use parametrized host & port in test
to support docker-based tests or different test envs
2017-03-10 19:21:25 +01:00
vrde
5604e32d57
Try once if AutoReconnect is raised 2017-02-06 16:14:14 +01:00
vrde
e3a6d3d343
Add tests for connection.run 2017-02-02 19:58:00 +01:00
vrde
16571b539f
Normalize exceptions 2017-02-02 19:26:52 +01:00
vrde
157db3e01f
Fix exception in test 2017-01-31 16:59:43 +01:00
vrde
a8bbc87c1c
Major improvs for MongoDBConnection class 2017-01-31 01:29:12 +01:00
Rodolphe Marques
e7ffcf5705 Added replicaset name to bigchaindb config (#1063)
* Added replicaset name to bigchaindb config

* changed travis replSet to match bigchaindb default

* Updated initialize_replica_set

It now initializes the replica set with the name provided by the
bigchaindb config file.


* initialize_replica_set is now called when creating a mongodb connection.

This way we are sure that a replica set exists when we return a
connection.

* Moved the initialize replica set logic to the connection.

* update the config documentation
2017-01-20 14:05:28 +01:00
Rodolphe Marques
e52cb40edb Some more tests for mongodb code (#1036)
* Some more tests for mongodb code

Cleanup connection code

* pep8 fixes
2017-01-13 10:25:45 +01:00
Rodolphe Marques
39c25b951f added tests for mongodb connection 2016-12-20 14:25:24 +01:00