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

[ML] Avoid direct action on system index in evaluate REST tests #72069

Conversation

dimitris-athanasiou
Copy link
Contributor

@dimitris-athanasiou dimitris-athanasiou commented Apr 22, 2021

Refreshing all indices seems to potentially touch on the .ml-config
index which is a system index. That can cause a deprecation warning
for directly accessing system indices. This commit changes the
refresh request to just be on the data index the test uses.

Closes #72046

Refreshing all indices seems to potentially touch on the `.ml-config`
index which is a system index. That can cause a depracation warning
for directly accessing system indices. This commit changes the
refresh request to just be on the data index the test uses.

Closes elastic#72046
@dimitris-athanasiou dimitris-athanasiou added >test Issues or PRs that are addressing/adding tests :ml Machine learning v8.0.0 v7.13.0 labels Apr 22, 2021
@elasticmachine elasticmachine added the Team:ML Meta label for the ML team label Apr 22, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core (Team:ML)

Copy link
Contributor

@droberts195 droberts195 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dimitris-athanasiou dimitris-athanasiou merged commit af1aa5d into elastic:master Apr 22, 2021
@dimitris-athanasiou dimitris-athanasiou deleted the avoid-direct-action-on-system-index-evaluate-rest-tests branch April 22, 2021 09:43
dimitris-athanasiou added a commit that referenced this pull request Apr 22, 2021
…72069) (#72074)

Refreshing all indices seems to potentially touch on the `.ml-config`
index which is a system index. That can cause a depracation warning
for directly accessing system indices. This commit changes the
refresh request to just be on the data index the test uses.

Closes #72046

Backport of #72069
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:ml Machine learning Team:ML Meta label for the ML team >test Issues or PRs that are addressing/adding tests v7.13.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

evaluate_data_frame REST test can fail from unexpected warnings
4 participants