Commit Graph

26 Commits

Author SHA1 Message Date
Tyler Brock
78fc1debbe RUBY-378 new ReplSetConnection format 2012-02-16 10:59:09 -05:00
Tyler Brock
7d5ab886ed minor: fix for replica set tests -- each TestCase class now gets a new replica set 2012-01-29 19:05:17 -05:00
Kyle Banker
815ec63681 minor: test fix 2012-01-26 12:07:32 -05:00
Jorge Bejar
6b8ab02ec8 Fix issue RUBY-391
Fix a problem with the exception raised when trying to insert
in a replicaset when primary is not available.

The ssue is reported here: https://jira.mongodb.org/browse/RUBY-391
2011-12-16 13:44:21 -02:00
Kyle Banker
e0f44ca41d RUBY-379 RUBY-381 test 2011-12-05 16:16:06 -05:00
Kyle Banker
68627cef3d Replica Set test harness refactoring. 2011-11-03 11:17:36 -04:00
Kyle Banker
f5f714a1a1 Added some basic, sanity-checking tests. 2011-10-07 13:55:09 -04:00
Kyle Banker
adb4675f20 RUBY-321 Use sync RW lock for ReplSetConnection. Bug fixes. 2011-08-31 16:05:21 -04:00
Kyle Banker
f3fbb98fa8 RUBY-314 replica set connection and test cleanup 2011-08-25 11:27:58 -04:00
Kyle Banker
9ea718522f RUBY-291 automate local replica set reads by ping time 2011-08-22 11:52:11 -04:00
Kyle Banker
b0d5df72fa RUBY-269 RUBY-275 added connect_timeout option 2011-06-15 14:20:11 -04:00
Kyle Banker
140dfa9f32 minor: fixes 2011-04-26 07:48:16 -04:00
Kyle Banker
043590f9a3 minor: test replica set connect with reverse node order 2011-04-13 14:39:52 -04:00
Kyle Banker
272d4835a7 RUBY-252 RUBY-237 re-add Connection#host and Connection#port 2011-03-23 16:34:42 -04:00
Kyle Banker
fab538ed5e minor: alias #read_primary? with #primary? 2011-01-17 13:37:41 -05:00
Kyle Banker
4e5b1a7d23 RUBY-205 RUBY-150 Support new connection URI options 2010-12-30 15:40:50 -05:00
Kyle Banker
b77b3fe1e6 RUBY-215 added Connection#read_primary? and ReplSetConnection#read_primary? 2010-12-29 13:01:05 -05:00
Kyle Banker
1095a39299 Better tests for reading rs secondaries 2010-12-15 14:16:05 -05:00
Kyle Banker
95c0fe088f Fully-automated replica set tests. 2010-12-14 17:38:52 -05:00
Kyle Banker
34b6f023eb Replica set automated tests 2010-12-14 15:47:18 -05:00
Kyle Banker
236d4a821f More connection refactoring. Updates to repl_set_manager. 2010-12-14 13:14:45 -05:00
Kyle Banker
27b410f869 ReplSetConnection updates 2010-12-13 14:07:32 -05:00
Kyle Banker
b63250e6e4 Fix for connections to replica sets with 1 secondary and 1 arbiter 2010-12-10 11:12:18 -05:00
Kyle Banker
5930c500b4 RUBY-208 test for connection failure. Minor test fix. 2010-11-30 12:36:45 -05:00
Kyle Banker
d6f8f9d41a Allow specification of replica set name on connect.
Raise ReplicaSetConnectionError if expected name doesn't match set.
2010-11-03 15:12:15 -04:00
Kyle Banker
e416e05fc7 RUBY-190 bug fix for unavailable nodes on Connection#multi 2010-10-21 14:33:48 -04:00