aboutsummaryrefslogtreecommitdiffstats
path: root/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/rotation/RotationRepositoryTest.java
diff options
context:
space:
mode:
authorJon Marius Venstad <venstad@gmail.com>2019-10-31 14:51:35 +0100
committerJon Marius Venstad <venstad@gmail.com>2019-10-31 14:51:35 +0100
commitfbedab8dfb0c2a0c04faa0da73197a622d77b8f3 (patch)
tree9f1fd6cfd4761a7daf5920cc2e3d231dba803bee /controller-server/src/test/java/com/yahoo/vespa/hosted/controller/rotation/RotationRepositoryTest.java
parent5d45c9916a3ea4ce84590152b2eee97f330a12c6 (diff)
Remove DeploymentTester and rename InternalDeploymentTester
Diffstat (limited to 'controller-server/src/test/java/com/yahoo/vespa/hosted/controller/rotation/RotationRepositoryTest.java')
-rw-r--r--controller-server/src/test/java/com/yahoo/vespa/hosted/controller/rotation/RotationRepositoryTest.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/rotation/RotationRepositoryTest.java b/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/rotation/RotationRepositoryTest.java
index 70775bc9c00..c76046b3f67 100644
--- a/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/rotation/RotationRepositoryTest.java
+++ b/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/rotation/RotationRepositoryTest.java
@@ -7,7 +7,7 @@ import com.yahoo.vespa.hosted.controller.application.ApplicationPackage;
import com.yahoo.vespa.hosted.controller.application.AssignedRotation;
import com.yahoo.vespa.hosted.controller.deployment.ApplicationPackageBuilder;
import com.yahoo.vespa.hosted.controller.deployment.DeploymentContext;
-import com.yahoo.vespa.hosted.controller.deployment.InternalDeploymentTester;
+import com.yahoo.vespa.hosted.controller.deployment.DeploymentTester;
import com.yahoo.vespa.hosted.rotation.config.RotationsConfig;
import org.junit.Before;
import org.junit.Rule;
@@ -48,13 +48,13 @@ public class RotationRepositoryTest {
.region("us-west-1")
.build();
- private InternalDeploymentTester tester;
+ private DeploymentTester tester;
private RotationRepository repository;
private DeploymentContext application;
@Before
public void before() {
- tester = new InternalDeploymentTester(new ControllerTester(rotationsConfig));
+ tester = new DeploymentTester(new ControllerTester(rotationsConfig));
repository = tester.applications().rotationRepository();
application = tester.newDeploymentContext("tenant1", "app1", "default");
}
@@ -82,7 +82,7 @@ public class RotationRepositoryTest {
@Test
public void strips_whitespace_in_rotation_fqdn() {
- tester = new InternalDeploymentTester(new ControllerTester(rotationsConfigWhitespaces));
+ tester = new DeploymentTester(new ControllerTester(rotationsConfigWhitespaces));
RotationRepository repository = tester.controller().applications().rotationRepository();
var application2 = tester.newDeploymentContext("tenant1", "app2", "default");