Skip to content

Commit 326d9fb

Browse files
committed
RUBY-800 Use test op timeout in mongo config
1 parent 4dd9163 commit 326d9fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/helpers/test_unit.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ def self.cleanup_users_and_dbs
422422
not_cluster = TEST_BASE.class_eval { class_variables }.none? { |v| v =~ /@@cluster_/ }
423423

424424
if @@connected_single_mongod && not_cluster
425-
client = Mongo::MongoClient.from_uri(TEST_URI)
425+
client = Mongo::MongoClient.from_uri(TEST_URI, :op_timeout => TEST_OP_TIMEOUT)
426426
db = client[TEST_DB]
427427
begin
428428
begin

0 commit comments

Comments
 (0)