From fbedab8dfb0c2a0c04faa0da73197a622d77b8f3 Mon Sep 17 00:00:00 2001 From: Jon Marius Venstad Date: Thu, 31 Oct 2019 14:51:35 +0100 Subject: Remove DeploymentTester and rename InternalDeploymentTester --- .../vespa/hosted/controller/rotation/RotationRepositoryTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'controller-server/src/test/java/com/yahoo/vespa/hosted/controller/rotation/RotationRepositoryTest.java') 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"); -- cgit v1.2.3