Tyler Brock
b2a1841f9c
minor: test fix for legacy mongo
2012-04-04 19:10:02 -04:00
Tyler Brock
d42eee278b
minor: testing fixes, cleaning output
2012-04-04 16:44:01 -04:00
Tyler Brock
c992369918
minor: more testing fixes
2012-04-04 15:48:32 -04:00
Tyler Brock
f58b56a4ee
minor: testing cleanup, suppress mongod startup output in rs tests
2012-04-04 15:10:11 -04:00
Tyler Brock
92af319412
minor: test cleanup
2012-04-04 13:51:04 -04:00
Tyler Brock
6944794fb2
RUBY-422 Cleanup testing output
2012-03-16 16:17:33 -04:00
Tyler Brock
2af817f0f8
minor: fix for refresh with threads test and rs documentation updates
2012-03-07 16:38:14 -05:00
Tyler Brock
68f19039d2
minor: updates for replica set tests, mock socket stubs
2012-03-06 17:06:42 -05:00
Kyle Banker
ebfe279784
Fixed threaded replica set reconnection.
2012-02-27 17:13:57 -05:00
Tyler Brock
c802c7eba3
minor: fixes for tests in Ruby 1.8.7
2012-02-18 19:24:27 -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
78fc1debbe
RUBY-378 new ReplSetConnection format
2012-02-16 10:59:09 -05:00
Kyle Banker
02d39a75c7
minor: insert test should use w = 2
2012-02-15 12:55:14 -05:00
Tyler Brock
8c2929bd4c
minor: increased sleep time on pooled insert rs test
2012-02-15 09:51:01 -05:00
Tyler Brock
e21adbd781
minor: possible fix for replica set refresh test not passing due to ghost members
2012-02-13 19:21:11 -05:00
Tyler Brock
a3fa4892a6
minor: fix for test_accessors replica set test -- should not test tags on server < 2.0
2012-02-13 18:49:56 -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
Tyler Brock
07375ce024
RUBY-403 added test and fix for refresh health check attempting to close socket that may be nil
2012-01-25 18:45:31 -05:00
Kyle Banker
15dce65e5a
RUBY-398 skip seed node if neither primary nor secondary
2012-01-20 13:31:04 -05:00
Kyle Banker
68c613ce79
RUBY-398 test fix
2012-01-20 11:00:38 -05:00
Kyle Banker
b5576a7ecd
RUBY-398 test case for this bug report
2012-01-20 10:56:39 -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
a7139fd5ed
RUBY-375
2011-12-06 16:41:51 -05:00
Kyle Banker
80c4cb750d
minor: remove test
2011-12-06 14:38:14 -05:00
Kyle Banker
02d7a3c5dd
minor: test
2011-12-05 18:31:29 -05:00
Kyle Banker
e0f44ca41d
RUBY-379 RUBY-381 test
2011-12-05 16:16:06 -05:00
Kyle Banker
b6ff77fcbc
RUBY-379 RUBY-381 reconnect on 'not master' errors (fix close connection logic)
2011-12-05 15:25:37 -05:00
Kyle Banker
29f3772053
RUBY-376 use new seed nodes first
2011-12-02 17:42:18 -05:00
Kyle Banker
b579a6347f
RUBY-376 always cache original seed nodes
2011-12-02 17:20:04 -05:00
Kyle Banker
03303b8409
RUBY-374 Close connection on SystemStackError, NoMemoryError, and SystemCallError
2011-12-02 15:37:05 -05:00
Kyle Banker
e81b616da5
minor: test fix
2011-11-18 16:56:03 -05:00
Kyle Banker
fa10508f07
Remove thread-local map and socket map (complexity creep).
2011-11-18 15:47:06 -05:00
Kyle Banker
177fad34ff
Added replica set refresh test for threaded app.
2011-11-16 18:10:16 -05:00
Kyle Banker
fbdf16bd48
minor: text fixes
2011-11-07 13:36:57 -05:00
Kyle Banker
9cb9f5c663
minor: test fix
2011-11-04 16:53:28 -04:00
Kyle Banker
68627cef3d
Replica Set test harness refactoring.
2011-11-03 11:17:36 -04:00
Kyle Banker
abe3532d2a
RUBY-352 test commands go to primary
2011-10-26 12:34:16 -04:00
Kyle Banker
8e02b4e9b4
minor: test fix
2011-10-17 14:36:47 -05:00
Kyle Banker
6a7e991689
Fix connection leak and refresh.
2011-10-14 09:52:11 -04:00
Kyle Banker
1001e59e44
minor: test framework fixes; minor bug fixes
2011-10-13 17:58:20 -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
f5f714a1a1
Added some basic, sanity-checking tests.
2011-10-07 13:55:09 -04:00
Kyle Banker
3e3f05813a
minor: cleanup and test fix
2011-09-15 17:46:59 -04:00
Kyle Banker
83eaa4d51b
Replica Set connection improvements for refresh and multi-threaded apps.
2011-09-13 17:50:01 -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