def setUp(self): TestQless.setUp(self) self.worker = PatchedGeventWorker(['foo'], self.client, greenlets=1, interval=0.2) self.queue = self.client.queues['foo'] self.thread = None
def setUp(self): TestQless.setUp(self) self.client.queues['foo'].put('Foo', {}, jid='jid') self.client.jobs['jid'].track()
def setUp(self): TestQless.setUp(self) # Ensure whe know what the grace period is self.lua('config.set', 0, 'grace-period', self.grace)
def setUp(self): TestQless.setUp(self) # No grace period for any of these tests self.lua('config.set', 0, 'grace-period', 0)
def setUp(self): TestQless.setUp(self) # No grace periods for this self.lua('config.set', 0, 'grace-period', 0) self.lua('config.set', 0, 'heartbeat', -10)
def setUp(self): TestQless.setUp(self) self.queue = self.client.queues['foo'] self.thread = None
def setUp(self): TestQless.setUp(self) self.worker = PatchedForkingWorker( ['foo'], self.client, workers=1, interval=1) self.queue = self.client.queues['foo'] self.thread = None
def setUp(self): TestQless.setUp(self) # Ensure whe know what the grace period is self.lua("config.set", 0, "grace-period", self.grace)
def setUp(self): TestQless.setUp(self) # No grace period for any of these tests self.lua("config.set", 0, "grace-period", 0)
def setUp(self): TestQless.setUp(self) # No grace periods for this self.lua("config.set", 0, "grace-period", 0) self.lua("config.set", 0, "heartbeat", -10)
def setUp(self): TestQless.setUp(self) self.worker = Worker(['foo'], self.client)
def setUp(self): TestQless.setUp(self) self.worker = PatchedGeventWorker( ['foo'], self.client, greenlets=1, interval=0.2) self.queue = self.client.queues['foo'] self.thread = None
def setUp(self): TestQless.setUp(self) # No grace period self.lua('config.set', 0, 'grace-period', 0)