Skip to content

[7.17] Fix FollowIndexSecurityIT.testAutoFollowPatterns (#87853)#87918

Merged
tlrx merged 1 commit intoelastic:7.17from
tlrx:fix-84888-7.17
Jun 22, 2022
Merged

[7.17] Fix FollowIndexSecurityIT.testAutoFollowPatterns (#87853)#87918
tlrx merged 1 commit intoelastic:7.17from
tlrx:fix-84888-7.17

Conversation

@tlrx
Copy link
Copy Markdown
Member

@tlrx tlrx commented Jun 22, 2022

The test FollowIndexSecurityIT.testAutoFollowPatterns sometimes
fails when verifying the monitoring documents about auto-follow
stats. I wasn't able to reproduce locally but I suspect that monitoring
collects auto-follow stats before they are updated. Instead it should
collect auto follow stats monitoring documents once indices are
effectively followed.

There are also some index / auto-follow pattern conflicts with other
tests in the same class, so this PR also changes that. In case this
fix is not enough, the full monitoring documents should appear in
test log to help further debugging.

Backport of #87853

The test FollowIndexSecurityIT.testAutoFollowPatterns sometimes
fails when verifying the monitoring documents about auto-follow
stats. I wasn't able to reproduce locally but I suspect that monitoring
collects auto-follow stats before they are updated. Instead it should
collect auto follow stats monitoring documents once indices are
effectively followed.

There are also some index / auto-follow pattern conflicts with other
tests in the same class, so this PR also changes that. In case this
fix is not enough, the full monitoring documents should appear in
test log to help further debugging.

Closes elastic#84888
@tlrx tlrx added backport v7.17.5 auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) labels Jun 22, 2022
@tlrx tlrx merged commit c7dd1c8 into elastic:7.17 Jun 22, 2022
@tlrx tlrx deleted the fix-84888-7.17 branch June 22, 2022 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport v7.17.5

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant