diff --git a/client/rest-high-level/src/test/java/org/opensearch/client/IndicesClientIT.java b/client/rest-high-level/src/test/java/org/opensearch/client/IndicesClientIT.java index 44f27391fe83f..5b5b18d298c8e 100644 --- a/client/rest-high-level/src/test/java/org/opensearch/client/IndicesClientIT.java +++ b/client/rest-high-level/src/test/java/org/opensearch/client/IndicesClientIT.java @@ -1475,7 +1475,7 @@ public void testIndexPutSettingNonExistent() throws IOException { assertThat( exception.getMessage(), equalTo( - "OpenSearch exception [type=illegal_argument_exception, " + "OpenSearch exception [type=invalid_argument_exception, " + "reason=unknown setting [index.no_idea_what_you_are_talking_about] please check that any required plugins are installed, " + "or check the breaking changes documentation for removed settings]" )