Skip to content

Commit

Permalink
[ML] Avoid direct action on system index in evaluate REST tests
Browse files Browse the repository at this point in the history
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
  • Loading branch information
dimitris-athanasiou committed Apr 22, 2021
1 parent 146ba50 commit fed33d1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,8 @@ setup:
}
- do:
indices.refresh: {}
indices.refresh:
index: utopia

---
"Test outlier_detection auc_roc":
Expand Down

0 comments on commit fed33d1

Please sign in to comment.