Skip to content

[ML] Disallow wildcarded deletions in ML native tests again #73721

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

Merged
merged 1 commit into from
Jun 4, 2021

Conversation

droberts195
Copy link
Contributor

After #71150 was merged we had to allow wildcarded deletions
in our native multi-node tests, because the feature reset API
was doing a wildcarded deletion.

This is not ideal because we then might rely on wildcarded
deletion somewhere else and not notice in our tests.

Now that #73017 is merged we should no longer need to allow
wildcarded deletion for the benefit of the feature reset API.
Therefore, this PR reverts the setting change that was made
in #71176. Over time our testing will then validate that the
feature reset API really does work with wildcarded deletes
disallowed.

After elastic#71150 was merged we had to allow wildcarded deletions
in our native multi-node tests, because the feature reset API
was doing a wildcarded deletion.

This is not ideal because we then might rely on wildcarded
deletion somewhere else and not notice in our tests.

Now that elastic#73017 is merged we should no longer need to allow
wildcarded deletion for the benefit of the feature reset API.
Therefore, this PR reverts the setting change that was made
in elastic#71176.  Over time our testing will then validate that the
feature reset API really does work with wildcarded deletes
disallowed.
@droberts195 droberts195 added >test Issues or PRs that are addressing/adding tests :ml Machine learning v8.0.0 v7.14.0 labels Jun 3, 2021
@elasticmachine elasticmachine added the Team:ML Meta label for the ML team label Jun 3, 2021
@elasticmachine
Copy link
Collaborator

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

Copy link
Contributor

@dimitris-athanasiou dimitris-athanasiou left a comment

Choose a reason for hiding this comment

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

LGTM

@droberts195 droberts195 merged commit fb5071c into elastic:master Jun 4, 2021
@droberts195 droberts195 deleted the disallow_wildcard_deletion branch June 4, 2021 12:43
droberts195 added a commit that referenced this pull request Jun 4, 2021
After #71150 was merged we had to allow wildcarded deletions
in our native multi-node tests, because the feature reset API
was doing a wildcarded deletion.

This is not ideal because we then might rely on wildcarded
deletion somewhere else and not notice in our tests.

Now that #73017 is merged we should no longer need to allow
wildcarded deletion for the benefit of the feature reset API.
Therefore, this PR reverts the setting change that was made
in #71176.  Over time our testing will then validate that the
feature reset API really does work with wildcarded deletes
disallowed.
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.14.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants