lshift/diffa — pull request #125 by paulj (2012-04-25 01:39:34+00:00)
Title: Correct race condition in integration test for escalations processing

The test `scanShouldTriggerResend` expects that all actions will be completed by the time the scan finishes. This is no longer true, and in some test runs results in the test failing. This test introduces synchronization and a timed wait for the actions to be completed.

Just for kicks, it also includes a minor default for the mail dir to allow the SameEnvironmentTest to be run standalone from the command line against a running Diffa instance.