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 availablebooleanReturns whether the container is ready to serve.Optional<ai.vespa.http.DomainName>resolveCname(ai.vespa.http.DomainName hostName) Returns the host name of the given CNAME, if any.resolveHostName(ai.vespa.http.DomainName hostname) Returns the IP address of the given host name, if any.voidset(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)
-
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
-
ready
Description copied from interface:TesterCloudReturns whether the container is ready to serve.- Specified by:
readyin interfaceTesterCloud
-
testerReady
Description copied from interface:TesterCloudReturns whether the test container is ready to serve- Specified by:
testerReadyin interfaceTesterCloud
-
resolveHostName
Description copied from interface:TesterCloudReturns the IP address of the given host name, if any.- Specified by:
resolveHostNamein interfaceTesterCloud
-
resolveCname
Description copied from interface:TesterCloudReturns the host name of the given CNAME, if any.- Specified by:
resolveCnamein 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()
-