Class MockTesterCloud
java.lang.Object
com.yahoo.vespa.hosted.controller.api.integration.stubs.MockTesterCloud
- All Implemented Interfaces:
TesterCloud
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.yahoo.vespa.hosted.controller.api.integration.deployment.TesterCloud
TesterCloud.Status, TesterCloud.Suite -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclearLog()byte[]config()getLog(DeploymentId deploymentId, long after) Returns the log entries from the tester with ids after the given threshold.getStatus(DeploymentId deploymentId) Returns the current status of the tester.getTestReport(DeploymentId deploymentId) Returns the test report as JSON if availablevoidset(TesterCloud.Status status) voidstartTests(DeploymentId deploymentId, TesterCloud.Suite suite, byte[] config) Signals the tester to run its tests.booleantesterReady(DeploymentId deploymentId) Returns whether the test container is ready to servevoidtestReport(TestReport testReport) com.yahoo.config.provision.EndpointsChecker.AvailabilityverifyEndpoints(DeploymentId deploymentId, List<com.yahoo.config.provision.EndpointsChecker.Endpoint> endpoints)
-
Constructor Details
-
MockTesterCloud
-
-
Method Details
-
startTests
Description copied from interface:TesterCloudSignals the tester to run its tests.- Specified by:
startTestsin interfaceTesterCloud
-
getLog
Description copied from interface:TesterCloudReturns the log entries from the tester with ids after the given threshold.- Specified by:
getLogin interfaceTesterCloud
-
getStatus
Description copied from interface:TesterCloudReturns the current status of the tester.- Specified by:
getStatusin interfaceTesterCloud
-
testerReady
Description copied from interface:TesterCloudReturns whether the test container is ready to serve- Specified by:
testerReadyin interfaceTesterCloud
-
verifyEndpoints
public com.yahoo.config.provision.EndpointsChecker.Availability verifyEndpoints(DeploymentId deploymentId, List<com.yahoo.config.provision.EndpointsChecker.Endpoint> endpoints) - Specified by:
verifyEndpointsin interfaceTesterCloud
-
getTestReport
Description copied from interface:TesterCloudReturns the test report as JSON if available- Specified by:
getTestReportin interfaceTesterCloud
-
testReport
-
add
-
clearLog
public void clearLog() -
set
-
config
public byte[] config()
-