diff options
author | gjoranv <gv@oath.com> | 2018-10-17 16:38:33 +0200 |
---|---|---|
committer | gjoranv <gv@oath.com> | 2019-01-21 15:09:23 +0100 |
commit | 21115bc2849c77f316b81bcc93f872f164fb89f3 (patch) | |
tree | 28b8db90f7c68b5426a385326ea5293a52b6ff44 /configserver | |
parent | aa5ca44e7dcd6e2afa9195f4d69c1026e6de0b7c (diff) |
Service name is 'qrserver' again, since PR #7332
Diffstat (limited to 'configserver')
-rw-r--r-- | configserver/src/test/java/com/yahoo/vespa/config/server/SuperModelControllerTest.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/configserver/src/test/java/com/yahoo/vespa/config/server/SuperModelControllerTest.java b/configserver/src/test/java/com/yahoo/vespa/config/server/SuperModelControllerTest.java index 713026a3497..966aa0b25f9 100644 --- a/configserver/src/test/java/com/yahoo/vespa/config/server/SuperModelControllerTest.java +++ b/configserver/src/test/java/com/yahoo/vespa/config/server/SuperModelControllerTest.java @@ -105,7 +105,7 @@ public class SuperModelControllerTest { assertThat(lbc.tenants("t1").applications().size(), is(2)); assertThat(lbc.tenants("t2").applications().size(), is(1)); assertThat(lbc.tenants("t2").applications("minetooadvancedapp:prod:default:default").hosts().size(), is(1)); - assertContainer(lbc.tenants("t2").applications("minetooadvancedapp:prod:default:default")); + assertQrserver(lbc.tenants("t2").applications("minetooadvancedapp:prod:default:default")); } @Test @@ -140,16 +140,16 @@ public class SuperModelControllerTest { return ApplicationId.from(tenantName, ApplicationName.from(applicationName), InstanceName.defaultName()); } - private void assertContainer(Applications app) { + private void assertQrserver(Applications app) { String host = app.hosts().keySet().iterator().next(); Applications.Hosts hosts = app.hosts(host); assertThat(hosts.hostname(), is(host)); for (Map.Entry<String, Applications.Hosts.Services> e : app.hosts(host).services().entrySet()) { System.out.println(e.getKey()); - if ("container".equals(e.getKey())) { + if ("qrserver".equals(e.getKey())) { Applications.Hosts.Services s = e.getValue(); System.out.println(s); - assertThat(s.type(), is("container")); + assertThat(s.type(), is("qrserver")); assertThat(s.ports().size(), is(4)); assertThat(s.ports().get(0).number(), is(8000)); assertThat(s.index(), is(0)); |