Skip to content

[7.17] Wait longer for CCR auto-follow stats to appear in monitoring index (#85278)#85288

Merged
elasticsearchmachine merged 1 commit intoelastic:7.17from
tlrx:fix-AutoFollowIT-7.17
Mar 23, 2022
Merged

[7.17] Wait longer for CCR auto-follow stats to appear in monitoring index (#85278)#85288
elasticsearchmachine merged 1 commit intoelastic:7.17from
tlrx:fix-AutoFollowIT-7.17

Conversation

@tlrx
Copy link
Copy Markdown
Member

@tlrx tlrx commented Mar 23, 2022

The test AutoFollowIT.testAutoFollowPatterns() failed multiple times
when waiting for CCR's auto-follow stats to be collected and indexed in
the .monitoring-es-* index. This is possibly because monitoring data
are collected every 10 seconds and some of them can take more time to be
collected, exceeding the 30s timeout in the test.

This pull request re-uses the assertLongBusy() so that the test will
wait more time for the data to show up and in case the data are not here
it will prints out the current CCR's auto-follow stats for debugging
purpose.

Closes #84403

…lastic#85278)

The test `AutoFollowIT.testAutoFollowPatterns()` failed multiple times
when waiting for CCR's auto-follow stats to be collected and indexed in
the `.monitoring-es-*` index. This is possibly because monitoring data
are collected every 10 seconds and some of them can take more time to be
collected, exceeding the 30s timeout in the test.

This pull request re-uses the `assertLongBusy()` so that the test will
wait more time for the data to show up and in case the data are not here
it will prints out the current CCR's auto-follow stats for debugging
purpose.

Closes elastic#84403
@tlrx tlrx added backport v7.17.2 auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) labels Mar 23, 2022
@elasticsearchmachine elasticsearchmachine merged commit b767d12 into elastic:7.17 Mar 23, 2022
@tlrx tlrx deleted the fix-AutoFollowIT-7.17 branch March 23, 2022 17:46
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.2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants