diff --git a/core/src/test/java/org/elasticsearch/indices/analyze/AnalyzeActionIT.java b/core/src/test/java/org/elasticsearch/indices/analyze/AnalyzeActionIT.java index 80d5a6080b6..335a9d38fba 100644 --- a/core/src/test/java/org/elasticsearch/indices/analyze/AnalyzeActionIT.java +++ b/core/src/test/java/org/elasticsearch/indices/analyze/AnalyzeActionIT.java @@ -512,7 +512,7 @@ public class AnalyzeActionIT extends ESIntegTestCase { fail("shouldn't get here"); } catch (Throwable t) { assertThat(t, instanceOf(IllegalArgumentException.class)); - assertThat(t.getMessage(), startsWith("failed to find analyzer")); + assertThat(t.getMessage(), startsWith("failed to find global analyzer")); }