diff --git a/server/src/test/java/org/elasticsearch/cluster/node/DiscoveryNodeRoleIT.java b/server/src/test/java/org/elasticsearch/cluster/node/DiscoveryNodeRoleIT.java index c4d831eaace7..8a5f918c519a 100644 --- a/server/src/test/java/org/elasticsearch/cluster/node/DiscoveryNodeRoleIT.java +++ b/server/src/test/java/org/elasticsearch/cluster/node/DiscoveryNodeRoleIT.java @@ -19,7 +19,6 @@ package org.elasticsearch.cluster.node; -import org.apache.lucene.util.LuceneTestCase.AwaitsFix; import org.elasticsearch.action.admin.cluster.node.info.NodesInfoResponse; import org.elasticsearch.common.settings.Setting; import org.elasticsearch.common.settings.Settings; @@ -36,7 +35,6 @@ import static org.hamcrest.Matchers.hasSize; import static org.hamcrest.Matchers.not; -@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/43223") public class DiscoveryNodeRoleIT extends ESIntegTestCase { public static class AdditionalRolePlugin extends Plugin { @@ -74,6 +72,11 @@ protected Collection> nodePlugins() { return Collections.singletonList(AdditionalRolePlugin.class); } + @Override + protected Collection> transportClientPlugins() { + return Collections.singletonList(AdditionalRolePlugin.class); + } + public void testDefaultHasAdditionalRole() { runTestNodeHasAdditionalRole(Settings.EMPTY); }