use of com.yahoo.vespa.hosted.controller.application.ApplicationRotation in project vespa by vespa-engine.
the class RotationTest method no_rotation_assigned_for_application_without_service_id.
@Test
public void no_rotation_assigned_for_application_without_service_id() {
ApplicationPackage applicationPackage = new ApplicationPackageBuilder().region("us-east-3").region("us-west-1").build();
tester.deployCompletely(application, applicationPackage);
Application app = tester.applications().require(application.id());
Optional<ApplicationRotation> rotation = app.rotation();
assertFalse(rotation.isPresent());
}
Aggregations