From 9981a6e48f621e0afbe0ffab1cd1a3e1dbca4904 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20B=C3=BCscher?= Date: Mon, 25 Mar 2019 22:52:23 +0100 Subject: [PATCH] Fixing type in test error message --- .../xpack/ccr/action/TransportResumeFollowActionTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x-pack/plugin/ccr/src/test/java/org/elasticsearch/xpack/ccr/action/TransportResumeFollowActionTests.java b/x-pack/plugin/ccr/src/test/java/org/elasticsearch/xpack/ccr/action/TransportResumeFollowActionTests.java index ef1fa1a80259e..054d63073506b 100644 --- a/x-pack/plugin/ccr/src/test/java/org/elasticsearch/xpack/ccr/action/TransportResumeFollowActionTests.java +++ b/x-pack/plugin/ccr/src/test/java/org/elasticsearch/xpack/ccr/action/TransportResumeFollowActionTests.java @@ -217,7 +217,7 @@ public void testValidation() throws IOException { validate(request, leaderIMD, followIMD, UUIDs, mapperService); } } - + public void testDynamicIndexSettingsAreClassified() { // We should be conscious which dynamic settings are replicated from leader to follower index. // This is the list of settings that should be replicated: @@ -237,7 +237,7 @@ public void testDynamicIndexSettingsAreClassified() { if (setting.isDynamic()) { boolean notReplicated = TransportResumeFollowAction.NON_REPLICATED_SETTINGS.contains(setting); boolean replicated = replicatedSettings.contains(setting); - assertThat("setting [" + setting.getKey() + "] is not classified as replicated xor not replicated", + assertThat("setting [" + setting.getKey() + "] is not classified as replicated or not replicated", notReplicated ^ replicated, is(true)); } }