…write to db
* Implements PDO instead of old mysql_* API * Adds error handling, raises exceptions on failure * Adds new tests for new database layer which all pass (YAY!) * Fixes older tests that rely on old SDO database object. * Creates mock Memcache object and interface for caching layer.
tests. Precursor to actual database tests. .
…s cache for a short period.
our choice to unit test Bouncer. The following tasks were completed: * Changing functions to be in a separate file to facilitate testing. * Passing the SDO object directly into functions to facilitate the creation of a mock SDO object to uncouple Bouncer from a database during testing. * The implementation of a recursive, stand-alone function for the querying of mirrors in the database, to facilitate testing this important functionality.
FALSE. This will help clean up the logs in production and make it easier to see actual problems as they are happening.