diff options
author | Jon Marius Venstad <jvenstad@yahoo-inc.com> | 2018-08-13 15:39:48 +0200 |
---|---|---|
committer | Jon Marius Venstad <jvenstad@yahoo-inc.com> | 2018-08-13 15:39:48 +0200 |
commit | 000665e4e9d976c61c89f347b0d0ed92ff22a390 (patch) | |
tree | 17973721389ba808d4a654db8dc19b2e5f431e4a /controller-api | |
parent | d641a75c27960e3a4a4c400319b0d007ea9fb1de (diff) |
Test tester config generation
Diffstat (limited to 'controller-api')
-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; + } + } |