Skip to content

Commit 87e8cdb

Browse files
committed
Rescue system calls and io errors in verify
1 parent e902d87 commit 87e8cdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/tools/mongo_config.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ def verify(verifies = 600)
340340
Mongo::MongoClient.new(@host, @port).close
341341
#puts "DbServer.verified via connection - port: #{@port} iteration: #{i}"
342342
return @pid
343-
rescue Mongo::ConnectionFailure
343+
rescue Mongo::ConnectionFailure, SystemCallError, IOError
344344
sleep 1
345345
end
346346
end

0 commit comments

Comments
 (0)