rackerlabs/qonos — pull request #305 by venkateshsampath (2014-05-07 11:17:03+00:00)
Title: implements qonos.job.failed notification

- qonos.job.failed notification is sent only if the following criteria is satisfied.
- Whenever a job status is updated to ERROR/CANCELLED
(AND)
- if the number of retries exceeds the max retry count (OR) if the current time exceeds the hard_timeout.
- qonos.job.failed notification includes the error message to the job payload if it is available while updating the job status.
- modified existing tests to test the send qonos.job.failed notification scenario.