bguerout/jongo — pull request #74 by mark1ewis (2012-11-20 05:33:17+00:00)
Title: Fix test case connection leak

Each JongoTestCase instance created a new local Mongo connection pool, so eventually if you added too many test cases then you would hit the mongod process connection limit (on OS X the default limit works out to only about 200 connections). This update changes the test code to use a single Mongo connection pool for all tests, so Mongo can do its normal connection sharing.