public abstract class AbstractTestExecutor extends Object implements TestExecutor
Modifier | Constructor and Description |
---|---|
protected |
AbstractTestExecutor(Maestro maestro,
ReportsDownloader reportsDownloader) |
Modifier and Type | Method and Description |
---|---|
protected void |
drain() |
protected Maestro |
getMaestro() |
protected ReportsDownloader |
getReportsDownloader() |
Instant |
getStartTime() |
protected long |
getTimeout(AbstractTestProfile testProfile) |
protected boolean |
isFailed(MaestroNote note) |
boolean |
isRunning() |
protected boolean |
isTestFailed(MaestroNote note) |
protected int |
peerCount(AbstractTestProfile testProfile) |
protected void |
startServices()
Start connected peers
|
protected void |
startServices(AbstractTestProfile testProfile)
Start connected peers
|
void |
stopServices()
Stop connected peers
|
protected void |
testStart() |
protected void |
testStop() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCoolDownPeriod, run
protected AbstractTestExecutor(Maestro maestro, ReportsDownloader reportsDownloader)
protected Maestro getMaestro()
protected ReportsDownloader getReportsDownloader()
protected void testStart()
protected void testStop()
public boolean isRunning()
public Instant getStartTime()
protected void startServices() throws MaestroConnectionException
MaestroConnectionException
- if there's a connection error while communicating w/ the Maestro brokerprotected void startServices(AbstractTestProfile testProfile) throws MaestroConnectionException
testProfile
- the test profile in useMaestroConnectionException
- if there's a connection error while communicating w/ the Maestro brokerpublic final void stopServices() throws MaestroConnectionException
MaestroConnectionException
- if there's a connection error while communicating w/ the Maestro brokerprotected int peerCount(AbstractTestProfile testProfile) throws InterruptedException
InterruptedException
protected boolean isTestFailed(MaestroNote note)
protected boolean isFailed(MaestroNote note)
protected long getTimeout(AbstractTestProfile testProfile)
protected void drain()
This documentation was released into the public domain.