[TEST] fixes known handler test
Original commit: elastic/x-pack-elasticsearch@98a8f23d23
This commit is contained in:
parent
db129051c8
commit
5aae30f722
|
@ -75,7 +75,7 @@ public class KnownActionsTests extends SecurityIntegTestCase {
|
||||||
public void testAllTransportHandlersAreKnown() {
|
public void testAllTransportHandlersAreKnown() {
|
||||||
TransportService transportService = internalCluster().getDataNodeInstance(TransportService.class);
|
TransportService transportService = internalCluster().getDataNodeInstance(TransportService.class);
|
||||||
for (String handler : transportService.requestHandlers.keySet()) {
|
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,
|
assertThat("elasticsearch core transport handler [" + handler + "] is unknown to security", knownHandlers,
|
||||||
hasItem(handler));
|
hasItem(handler));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue