Skip to content

Commit

Permalink
Fix IT according to OpenSearch changes. (#1326)
Browse files Browse the repository at this point in the history
The breaking change was introduced by this commit opensearch-project/OpenSearch@ee8105b.

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
  • Loading branch information
Yury-Fridlyand authored Feb 7, 2023
1 parent d608412 commit 4b3cdbb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ public void nonRegisteredSQLSettingsThrowException() throws IOException {

actual = new JSONObject(TestUtils.getResponseBody(response));
assertThat(actual.getInt("status"), equalTo(400));
assertThat(actual.query("/error/type"), equalTo("illegal_argument_exception"));
assertThat(actual.query("/error/type"), equalTo("settings_exception"));
assertThat(
actual.query("/error/reason"),
equalTo("transient setting [plugins.sql.query.state.city], not recognized")
Expand Down

0 comments on commit 4b3cdbb

Please sign in to comment.