Skip to content

Conversation

@tlrx
Copy link
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
Backport of #85278

…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 changed the title Wait longer for CCR auto-follow stats to appear in monitoring index (#85278) [8.1] Wait longer for CCR auto-follow stats to appear in monitoring index (#85278) Mar 23, 2022
@tlrx tlrx added the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Mar 23, 2022
@elasticsearchmachine elasticsearchmachine merged commit 882f789 into elastic:8.1 Mar 23, 2022
@tlrx tlrx deleted the fix-AutoFollowIT-8.1 branch March 23, 2022 17:22
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 v8.1.2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants