l.s.j.t.t.TestJobWithRetryError(TestJob) : class documentation

Part of lp.services.job.tests.test_celery View In Hierarchy

A dummy job.
Method acquireLease Undocumented
Method storeDateStarted Undocumented
Method run Concoct various retry scenarios.

Inherited from TestJob:

Method __init__ Undocumented
Class Method makeInstance Undocumented
Class Method getDBClass Undocumented

Inherited from BaseRunnableJob (via TestJob):

Method __eq__ Undocumented
Method __ne__ Undocumented
Method __lt__ Undocumented
Method getOopsRecipients Return a list of email-ids to notify about oopses.
Method getOperationDescription Undocumented
Method getErrorRecipients Return a list of email-ids to notify about user errors.
Method getOopsMailController Return a MailController for notifying people about oopses.
Method getUserErrorMailController Return a MailController for notifying about user errors.
Method notifyOops Report this oops.
Method getOopsVars See IRunnableJob.
Method notifyUserError See IRunnableJob.
Method makeOopsReport Generate an OOPS report using the given OOPS configuration.
Method taskId Return a task ID that gives a clue what this job is about.
Method runViaCelery Request that this job be run via celery.
Method celeryCommitHook Hook function to call when a commit completes.
Method celeryRunOnCommit Configure transaction so that commit runs this job via Celery.
Method queue See IJob.

Inherited from BaseRunnableJobSource (via TestJob, BaseRunnableJob):

Static Method contextManager Undocumented
def acquireLease(self, duration=10):
def storeDateStarted(self):
def run(self):
Concoct various retry scenarios.
API Documentation for Launchpad, generated by pydoctor at 2019-05-22 00:00:12.