# Class e.p.a.t.t.MasterMixin(object):

Part of elisa.plugins.amp.tests.test_amp View In Hierarchy

Known subclasses: elisa.plugins.amp.tests.test_amp.TCPMasterTestCase, elisa.plugins.amp.tests.test_amp.UnixMasterTestCase

No class docstring

Line # | Kind | Name | Docs
--- | --- | --- | ---
131 | Method | tearDown | Undocumented
137 | Method | setRunner | Undocumented
142 | Method | testStartSlavesFail | Call startSlaves() and make all the slaves fail to start. Check that
158 | Method | testStartStopSlaves | Start and stop slaves.
180 | Method | testStartSlavesSpawnTimeout | Start slaves that don't connect to the master, resulting in a timeout.
197 | Method | testSlavesDisconnect | Start slaves that disconnect from the master after a while.
221 | Method | testSlavesPingTimeout | Run a slave that stays connected but stops answering ping requests after
246 | Method | testMasterPingTimeout | check that a slave kills itself if the master does not answer to pings

def tearDown(self):
Undocumented
def setRunner(self, runner):
Undocumented
def testStartSlavesFail(self):
Call startSlaves() and make all the slaves fail to start. Check that startSlaves() errbacks when all the processes are ended.

def testStartStopSlaves(self):
Start and stop slaves. Check that the slaves are started correctly and that they die when master.stopSlaves() is called.

def testStartSlavesSpawnTimeout(self):
Start slaves that don't connect to the master, resulting in a timeout.

def testSlavesDisconnect(self):
Start slaves that disconnect from the master after a while.

def testSlavesPingTimeout(self):
Run a slave that stays connected but stops answering ping requests after a while.

def testMasterPingTimeout(self):
check that a slave kills itself if the master does not answer to pings