Commit Graph

10 Commits

Author SHA1 Message Date
Tyler Brock
68f19039d2 minor: updates for replica set tests, mock socket stubs 2012-03-06 17:06:42 -05:00
Tyler Brock
8db4eb771f RUBY-378: fixed documentation and tests for new ReplSetConnection seed format
Added helper method #build_seeds to rs_test_helper
Added new test for old connection
2012-02-18 18:35:29 -05:00
Tyler Brock
b70c9ce152 RUBY-406 enhancements to :secondary_only read preference
Improved implementation
-- read_preference :secondary_only is now communicated via invocation
of ReplSetConnection#checkout_secondary

Better tests
-- ensures reads go to secondaries
-- ensures reads do not go to primaries
2012-02-18 16:51:57 -05:00
Tyler Brock
542b8f46da RUBY-406 added ReplSetConnection read preference :secondary_only 2012-02-16 12:59:52 -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
68627cef3d Replica Set test harness refactoring. 2011-11-03 11:17:36 -04:00
Kyle Banker
c2070bb90a minor: simply and refactor auto refresh 2011-10-12 17:13:48 -04:00
Kyle Banker
566d1a844f minor: test to reproduce CURSOR_NOT_FOUND error with async refresh 2011-10-12 10:51:57 -04:00
Kyle Banker
50c38c6c6b RUBY-284 document :read API 2011-09-06 14:58:03 -04:00
Kyle Banker
fbeea87c47 Added some read preference tests; refactoring; nice Pool#inspect. 2011-08-31 17:34:06 -04:00