puppetlabs/puppetdb — pull request #729 by senior (2013-10-24 12:51:57+00:00)
Title: Fix for the current unit test hanging issue.

The current code won't close the database connection until the HTTP response has been fully consumed. One of the tests wasn't actually consuming the response, causing the DB connection to stay open and then hang on the dropping of the DB table.