-
Notifications
You must be signed in to change notification settings - Fork 25.2k
HLREST: Machine learning tests leave ML state after they've finished #32993
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
Comments
Pinging @elastic/es-core-infra |
It leaks state into other tests causing them to fail sometimes. Relates to #32993
We've been aware we'd have to clean up. We were waiting to have the basic APIs to do so using the HLRC itself. We need #32960 first. Once that's in, I'll add the cleaner and re-enable the tests. |
It leaks state into other tests causing them to fail sometimes. Relates to #32993
Awesome! |
It leaks state into other tests causing them to fail sometimes. Relates to #32993
Pinging @elastic/ml-core |
I've been thinking about which is a better option: reuse Actually, to avoid the churn in the server side, we can simply duplicate the I'll go for this approach unless there is a strong downside I missed. Any thoughts @benwtrent , @davidkyle ? |
This commit duplicates the `MlRestTestStateCleaner` to make sure all ML data is removed after each test. After implementing the job and datafeed APIs in the HLRC, we shall replace this implementation with one using the HLRC itself. Closes elastic#32993
This commit duplicates the `MlRestTestStateCleaner` to make sure all ML data is removed after each test. After implementing the job and datafeed APIs in the HLRC, we shall replace this implementation with one using the HLRC itself. Closes #32993
This commit duplicates the `MlRestTestStateCleaner` to make sure all ML data is removed after each test. After implementing the job and datafeed APIs in the HLRC, we shall replace this implementation with one using the HLRC itself. Closes #32993
This build failed because the ML tests leave the cluster in a state where it recreates the
.ml-notifcations
. This interferes with other tests that expect an empty cluster. I think the right thing to do to fix this is to open source the ml state cleaner and move it into the test framework and use it in the rest client tests.The text was updated successfully, but these errors were encountered: