Skip to content

Commit

Permalink
Modify ITs to ignore transient warning (#132)
Browse files Browse the repository at this point in the history
Signed-off-by: rithin-pullela-aws <[email protected]>
  • Loading branch information
rithin-pullela-aws authored Feb 4, 2025
1 parent 89209e6 commit a826d70
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/o19s/es/ltr/LtrQueryParserPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ public List<PreConfiguredTokenizer> getPreConfiguredTokenizers() {
@Override
public Collection<SystemIndexDescriptor> getSystemIndexDescriptors(Settings settings) {
List<SystemIndexDescriptor> systemIndexDescriptors = new ArrayList<>();
systemIndexDescriptors.add(new SystemIndexDescriptor(".ltrstore*", "ML Commons Agent Index"));
systemIndexDescriptors.add(new SystemIndexDescriptor(".ltrstore*", "Indices for LTR stores"));
return systemIndexDescriptors;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ setup:
# Model only uses a single feature... although feature set has multiple

- do:
allowed_warnings:
- "this request accesses system indices: [.plugins-ml-config], but in a future major version, direct access to system indices will be prevented by default"
indices.refresh: {}

- do:
Expand Down Expand Up @@ -134,6 +136,8 @@ setup:
no_param_feature: 3.0

- do:
allowed_warnings:
- "this request accesses system indices: [.plugins-ml-config], but in a future major version, direct access to system indices will be prevented by default"
indices.refresh: {}

---
Expand Down

0 comments on commit a826d70

Please sign in to comment.