Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor index refresh logic in ITs #135

Merged
merged 1 commit into from
Feb 5, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ setup:
id: 2
body: { "field1": "v1 aoeu", "field2": " ua u v2", "field3": "foo bar text", "user_rating": 0.0 }

- do:
indices.refresh: { test }

- do:
allowed_warnings:
- "this request accesses system indices: [.ltrstore], but in a future major version, direct access to system indices will be prevented by default"
Expand Down Expand Up @@ -67,11 +70,6 @@ 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:
allowed_warnings:
- "this request accesses system indices: [.ltrstore], but in a future major version, direct access to system indices will be prevented by default"
Expand Down Expand Up @@ -135,11 +133,6 @@ setup:
feature2: 2.3
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: {}

---
"single feature ranklib model":
- skip:
Expand Down
Loading