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 void |
startServices(AbstractTestProfile testProfile,
DistributionStrategy distributionStrategy)
Start connected peers
|
void |
stopServices()
Stop connected peers
|
protected void |
stopServices(DistributionStrategy distributionStrategy)
Stop connected peers
|
protected void |
testStart() |
protected void |
testStop() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCoolDownPeriod, runprotected 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(AbstractTestProfile testProfile, DistributionStrategy distributionStrategy) throws MaestroConnectionException
testProfile - the test profile in useMaestroConnectionException - if there's a connection error while communicating w/ the Maestro brokerprotected final void stopServices(DistributionStrategy distributionStrategy) throws MaestroConnectionException
MaestroConnectionException - 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 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.