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
138 Method setRunner Undocumented
145 Method testStartSlavesFail Call startSlaves() and make all the slaves fail to start. Check that
161 Method testStartStopSlaves Start and stop slaves.
183 Method testStartSlavesSpawnTimeout Start slaves that don't connect to the master, resulting in a timeout.
200 Method testSlavesDisconnect Start slaves that disconnect from the master after a while.
224 Method testSlavesPingTimeout Run a slave that stays connected but stops answering ping requests after
249 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
API Documentation for Elisa Media Center, generated by pydoctor at 2009-02-16 19:15:05.