Skip to content

Commit

Permalink
Add client setting to ignore warning exceptions
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Gaievski <[email protected]>
  • Loading branch information
martin-gaievski committed Apr 8, 2023
1 parent 427cd32 commit 1566b28
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/test/java/org/opensearch/knn/index/NmslibIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -383,4 +383,9 @@ public void testInvalidQueryHnswAlgoParams() {
);
assertThat(ex.getMessage(), containsString("Failed to parse value [-1] for setting [index.knn.algo_param.ef_search]"));
}

@Override
protected Settings restClientSettings() {
return noStrictDeprecationModeSettingsBuilder().build();
}
}

0 comments on commit 1566b28

Please sign in to comment.