Skip to content

[8.1] [ML] Fix license feature test cleanup (#84020)#84024

Merged
droberts195 merged 1 commit intoelastic:8.1from
droberts195:backport/8.1/pr-84020
Feb 16, 2022
Merged

[8.1] [ML] Fix license feature test cleanup (#84020)#84024
droberts195 merged 1 commit intoelastic:8.1from
droberts195:backport/8.1/pr-84020

Conversation

@droberts195
Copy link
Copy Markdown

Backports the following commits to 8.1:

Testing license features for can cause the .ml-stats index to be created
some time after the tests complete. This can cause the post-test cleanup
to fail.

This change fixes the problem by waiting for pending tasks in the first
stage cleanup, before the main cleanup methods run in the base classes.

Fixes elastic#83923
@droberts195 droberts195 merged commit 00ff90b into elastic:8.1 Feb 16, 2022
@droberts195 droberts195 deleted the backport/8.1/pr-84020 branch February 16, 2022 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants