Commit Graph

43 Commits

Author SHA1 Message Date
Kyle Banker
221c40da3f minor: fix failing test 2011-12-02 17:45:42 -05:00
Kyle Banker
03303b8409 RUBY-374 Close connection on SystemStackError, NoMemoryError, and SystemCallError 2011-12-02 15:37:05 -05:00
Kyle Banker
7a11bb18a9 Ensure that cursor requiring getmore ops will not
be affected by replica set refresh.

Prep for sending commands to secondaries.
2011-10-17 14:41:09 -04:00
Kyle Banker
fe5f37b5d3 minor: remove bad test 2011-09-19 12:05:03 -04:00
Kyle Banker
3c127984a3 RUBY-242 check BSON size on a per-connection basis. 2011-08-25 14:57:24 -04:00
Kyle Banker
b0d5df72fa RUBY-269 RUBY-275 added connect_timeout option 2011-06-15 14:20:11 -04:00
Kyle Banker
025e56732e minor: test and doc fixes 2011-03-29 10:39:01 -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
2bfe205c51 Merged wpiekutowski's commits to enable warnings
on test suite and clean up some code.

Conflicts:
	test/cursor_test.rb
2011-03-23 16:02:04 -04:00
Kyle Banker
bd4731dd39 minor: test fix 2011-03-23 15:32:32 -04:00
Kyle Banker
997d9b8ae2 RUBY-231 RUBY-250 Validate socket against pid 2011-03-17 22:15:14 -04:00
Mauro Pompilio
e64f91e013 Implementation of the 'ping' command. Probably better suited for the 'active?' method. 2011-03-04 10:51:18 -05:00
Mauro Pompilio
1ad3285767 Add a mechanism to check if the connection is active/healthy. 2011-03-03 10:17:47 -05:00
Mauro Pompilio
fa0a933780 Fix the exception message shown when there's an IOError
while closing a socket in the pool.
2011-02-23 12:43:20 -05:00
Wojciech Piekutowski
4ea7a14608 Add parenthesis where Ruby thinks they're a good idea 2011-02-20 17:19:14 +01:00
Kyle Banker
ba38d1a5ab RUBY-230 minor: test fix for maxBsonObjectSize 2011-01-18 16:20:51 -05:00
Kyle Banker
9da68bb3db RUBY-189 use result of ismaster's maxBsonObjectSize 2010-12-29 18:06:31 -05:00
Kyle Banker
f38f2c32f7 Removed redundant test 2010-12-15 12:14:40 -05:00
Kyle Banker
5930c500b4 RUBY-208 test for connection failure. Minor test fix. 2010-11-30 12:36:45 -05:00
Kyle Banker
a039f813a7 minor: test fix 2010-11-29 13:56:11 -05:00
Kyle Banker
1e57ca90e1 Initial commit for reads from rs secondaries 2010-11-16 15:43:59 -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
9098070502 minor: more consistent naming in connection tests 2010-10-21 13:32:47 -04:00
Kyle Banker
a905c3f1f2 RUBY-191 fix to pass options to new db with Connection#db 2010-10-21 13:27:57 -04:00
Kyle Banker
dd02b12282 minor: test updates for JRuby in 1.9 mode 2010-10-14 16:11:30 -04:00
Kyle Banker
80044b9a58 RUBY-187 All tests can now use custom host and port;
Minor test fixes.
2010-10-13 17:09:23 -04:00
Kyle Banker
b3ed1486e5 minor: updates for removal deprecated DB and Connection methods and ObjectID 2010-10-04 13:28:26 -04:00
Kyle Banker
7ad280c2cb RUBY-184 Connection#locked? 2010-10-04 11:38:20 -04:00
Kyle Banker
4141331f79 RUBY-184 fsync lock helpers 2010-09-28 12:15:45 -04:00
Kyle Banker
7309d7e48b Path fixes for test in Ruby 1.9.2 2010-09-09 15:58:51 -04:00
Kyle Banker
db8ddd059b minor: silence some warning due to deprecaton 2010-08-04 16:47:13 -04:00
Kyle Banker
0afa5aa412 Initial replica set support 2010-07-19 12:07:46 -04:00
Kyle Banker
67a56b64eb fixed connection uri bug (Sunny Hirai) 2010-06-12 10:11:29 -04:00
Kyle Banker
a7e2991c31 fix for boolean command response in core server 1.5.2 2010-05-31 22:52:03 -04:00
Kyle Banker
56661c4c66 minor: docs 2010-05-04 16:06:06 -04:00
Kyle Banker
910a82de7e must use Connection.paired for paired connections 2010-04-07 17:10:28 -04:00
Kyle Banker
45d3b91882 exception refinements for bson split 2010-04-05 18:24:31 -04:00
Kyle Banker
2e78eb6c66 RUBY-118 2010-04-05 15:48:35 -04:00
Kyle Banker
63b0dfc6c9 test fixes for move to bson gem 2010-04-05 11:07:01 -04:00
Kyle Banker
a94a870202 log messages read like valid ruby driver code 2010-03-23 22:40:43 -07:00
Kyle Banker
9dd1a5c2e3 added authentication support for copy_database 2010-03-16 13:56:30 -04:00
Kyle Banker
c0e8a525bd reauthenticate on reconnect 2010-02-25 14:58:32 -05:00
Kyle Banker
0368e79c74 minor: tests use proper naming convention. test fix 1.8.6 2010-02-19 18:00:03 -05:00