We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f9acea commit dfca0ddCopy full SHA for dfca0dd
test/replica_sets/refresh_with_threads_test.rb
@@ -14,6 +14,9 @@ def teardown
14
end
15
16
def test_read_write_load_with_added_nodes
17
+ # MongoDB < 2.0 will disconnect clients on rs.reconfig()
18
+ return true if @rs.version.first < 2
19
+
20
seeds = build_seeds(3)
21
args = {
22
:refresh_interval => 5,
@@ -45,12 +48,7 @@ def test_read_write_load_with_added_nodes
45
48
46
49
47
50
@rs.add_node
-
- begin
- threads.each {|t| t.join }
51
- rescue ConnectionFailure
52
- # 1.8x will raise connection failures
53
- end
+ threads.each {|t| t.join }
54
55
@conn['admin'].command({:ismaster => 1})
56
0 commit comments