-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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] fix test failure from issue #71150 #71176
[ML] fix test failure from issue #71150 #71176
Conversation
Pinging @elastic/ml-core (Team:ML) |
Pinging @elastic/es-core-infra (Team:Core/Infra) |
Is this implying that the new feature reset API requires Given the conversations we've had recently about not using this API in production I can see some sense in that, but it needs to be clearly documented and the feature reset API should fail fast without doing a partial reset if the flag is incorrectly set. But if we see the future direction of Either way, this PR could be merged as-is as an interim solution. |
@droberts195 I opened: #71178 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I opened: #71178
Thanks. I am happy to merge this as an interim fix while that is discussed.
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.
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 #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.
Recently merged was a change that modified the default value of:
action.destructive_requires_name
totrue
.The original merge was fairly careful to adjust all the test clusters to account for the default value change.
However, the machine learning test runner was missed. We create custom node settings and thus require
the handling of the default value change.
relates to #71150