diff options
Diffstat (limited to 'controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/stubs/MockTesterCloud.java')
-rw-r--r-- | controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/stubs/MockTesterCloud.java | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/stubs/MockTesterCloud.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/stubs/MockTesterCloud.java index c2199c284f3..ff3f168a978 100644 --- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/stubs/MockTesterCloud.java +++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/stubs/MockTesterCloud.java @@ -12,10 +12,14 @@ public class MockTesterCloud implements TesterCloud { private byte[] logs = new byte[0]; private Status status = NOT_STARTED; + private byte[] config; + private URI testerUrl; @Override public void startTests(URI testerUrl, Suite suite, byte[] config) { - status = RUNNING; + this.status = RUNNING; + this.config = config; + this.testerUrl = testerUrl; } @Override @@ -33,4 +37,12 @@ public class MockTesterCloud implements TesterCloud { this.status = status; } + public byte[] config() { + return config; + } + + public URI testerUrl() { + return testerUrl; + } + } |