aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/java/com/yahoo/vespa/model/content
diff options
context:
space:
mode:
authorHarald Musum <musum@yahooinc.com>2023-05-08 10:58:09 +0200
committerGitHub <noreply@github.com>2023-05-08 10:58:09 +0200
commit90d52bfa46fb3264a9c6e972650d76aa72849807 (patch)
tree2fab86b3347aeb29439c3029d3e2665c5d130b70 /config-model/src/test/java/com/yahoo/vespa/model/content
parente25ab7b45c471593cc97a2aa7107b048881cfee1 (diff)
Revert "Revert "Remove access logging for internal container clusters""
Diffstat (limited to 'config-model/src/test/java/com/yahoo/vespa/model/content')
-rw-r--r--config-model/src/test/java/com/yahoo/vespa/model/content/IndexingAndDocprocRoutingTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/config-model/src/test/java/com/yahoo/vespa/model/content/IndexingAndDocprocRoutingTest.java b/config-model/src/test/java/com/yahoo/vespa/model/content/IndexingAndDocprocRoutingTest.java
index 430628238d9..4476e128196 100644
--- a/config-model/src/test/java/com/yahoo/vespa/model/content/IndexingAndDocprocRoutingTest.java
+++ b/config-model/src/test/java/com/yahoo/vespa/model/content/IndexingAndDocprocRoutingTest.java
@@ -1,6 +1,9 @@
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.model.content;
+import com.yahoo.component.ComponentId;
+import com.yahoo.container.logging.AccessLog;
+import com.yahoo.container.logging.JSONAccessLog;
import com.yahoo.messagebus.routing.Hop;
import com.yahoo.messagebus.routing.HopBlueprint;
import com.yahoo.messagebus.routing.PolicyDirective;
@@ -243,6 +246,9 @@ public class IndexingAndDocprocRoutingTest extends ContentBaseTest {
}
assertTrue(actualDocprocChains.containsAll(expectedDocprocChainStrings));
+
+ assertNotNull(docprocCluster.getComponentsMap().get(ComponentId.fromString(AccessLog.class.getName())));
+ assertNotNull(docprocCluster.getComponentsMap().get(ComponentId.fromString(JSONAccessLog.class.getName())));
}
}