Sha256: 2ef968011c1044741f0a8a29743a3a17e702c906ff50b5e8cef4e541ecca3849
Contents?: true
Size: 335 Bytes
Versions: 14
Compression:
Stored size: 335 Bytes
Contents
# start up on the travis ci environment. if (ENV['CI'] == 'travis') starting = true client = Mongo::Client.new(['127.0.0.1:27017']) while starting begin client.command(Mongo::Server::Monitor::STATUS) break rescue Mongo::Error::OperationFailure => e sleep(2) client.cluster.scan! end end end
Version data entries
14 entries across 14 versions & 1 rubygems