[TEST] fixes known handler test

Original commit: elastic/x-pack-elasticsearch@98a8f23d23
This commit is contained in:
Ali Beyad 2017-01-18 16:42:08 -05:00
parent db129051c8
commit 5aae30f722
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ public class KnownActionsTests extends SecurityIntegTestCase {
public void testAllTransportHandlersAreKnown() {
TransportService transportService = internalCluster().getDataNodeInstance(TransportService.class);
for (String handler : transportService.requestHandlers.keySet()) {
if (!knownHandlers.contains(handler)) {
if (!knownActions.contains(handler)) {
assertThat("elasticsearch core transport handler [" + handler + "] is unknown to security", knownHandlers,
hasItem(handler));
}