summaryrefslogtreecommitdiffstats
path: root/configserver
diff options
context:
space:
mode:
Diffstat (limited to 'configserver')
-rw-r--r--configserver/src/test/java/com/yahoo/vespa/config/server/model/LbServicesProducerTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/configserver/src/test/java/com/yahoo/vespa/config/server/model/LbServicesProducerTest.java b/configserver/src/test/java/com/yahoo/vespa/config/server/model/LbServicesProducerTest.java
index e64844a612f..ee35ca572e1 100644
--- a/configserver/src/test/java/com/yahoo/vespa/config/server/model/LbServicesProducerTest.java
+++ b/configserver/src/test/java/com/yahoo/vespa/config/server/model/LbServicesProducerTest.java
@@ -125,10 +125,10 @@ public class LbServicesProducerTest {
LbServicesConfig config = getLbServicesConfig(new Zone(Environment.prod, regionName), testModel);
List<Endpoints> endpointList = config.tenants("foo").applications("foo:prod:" + regionName.value() + ":default").endpoints();
- // Expect 4 zone endpoints (2 suffixes), 2 global endpoints and 1 application endpoint
- assertEquals(7, endpointList.size());
+ // Expect 2 zone endpoints (2 suffixes), 2 global endpoints and 1 application endpoint
+ assertEquals(5, endpointList.size());
List<Endpoints> zoneEndpoints = endpointList.stream().filter(e -> e.scope() == zone).collect(Collectors.toList());
- assertEquals(4, zoneEndpoints.size());
+ assertEquals(2, zoneEndpoints.size());
assertTrue(zoneEndpoints.stream()
.filter(e -> e.routingMethod() == sharedLayer4)
.map(Endpoints::dnsName).collect(Collectors.toList())