From 0144d202133648e3274110f555c429672002d754 Mon Sep 17 00:00:00 2001 From: Andy Bristol Date: Fri, 30 Mar 2018 14:09:36 -0700 Subject: [PATCH] [test] remove Streamable serde assertions (elastic/x-pack-elasticsearch#4261) Serialization assertions in ElasticsearchAssertions, a transport interceptor that used them, and a plugin that added that interceptor were removed from the test framework. This test case no longer needs to exclude them from its plugins. Original commit: elastic/x-pack-elasticsearch@07e5c58983c2c5673743fa387b875f0aaf4be598 --- .../transport/SecurityServerTransportServiceTests.java | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/plugin/security/src/test/java/org/elasticsearch/transport/SecurityServerTransportServiceTests.java b/plugin/security/src/test/java/org/elasticsearch/transport/SecurityServerTransportServiceTests.java index 332fd84c92f..675c438b87f 100644 --- a/plugin/security/src/test/java/org/elasticsearch/transport/SecurityServerTransportServiceTests.java +++ b/plugin/security/src/test/java/org/elasticsearch/transport/SecurityServerTransportServiceTests.java @@ -5,12 +5,9 @@ */ package org.elasticsearch.transport; -import java.util.Collection; import java.util.Map; -import java.util.stream.Collectors; import org.elasticsearch.common.settings.Settings; -import org.elasticsearch.plugins.Plugin; import org.elasticsearch.test.SecurityIntegTestCase; import org.elasticsearch.xpack.core.XPackSettings; import org.elasticsearch.xpack.security.transport.SecurityServerTransportInterceptor; @@ -25,13 +22,6 @@ public class SecurityServerTransportServiceTests extends SecurityIntegTestCase { .build(); } - @Override - protected Collection> getMockPlugins() { - Collection> mockPlugins = super.getMockPlugins(); - // no handler wrapping here we check the requestHandlers below and this plugin wraps it - return mockPlugins.stream().filter(p -> p != AssertingTransportInterceptor.TestPlugin.class).collect(Collectors.toList()); - } - public void testSecurityServerTransportServiceWrapsAllHandlers() { for (TransportService transportService : internalCluster().getInstances(TransportService.class)) { for (Map.Entry entry : transportService.requestHandlers.entrySet()) {