Skip to content

Wait longer for CCR auto-follow stats to appear in monitoring index#86140

Merged
tlrx merged 1 commit intoelastic:masterfrom
tlrx:fix-84888
Apr 26, 2022
Merged

Wait longer for CCR auto-follow stats to appear in monitoring index#86140
tlrx merged 1 commit intoelastic:masterfrom
tlrx:fix-84888

Conversation

@tlrx
Copy link
Copy Markdown
Member

@tlrx tlrx commented Apr 25, 2022

Now #84467 has been backported to 7.17 (#85514) the recent failures
are always due to monitoring docs not being indexed in monitoring
indices within 30s.

Similarly to what has been done for AutoFollowIT.testAutoFollowPatterns()
in #85278 which reduced the number of failures, we can wait longer in
FollowIndexSecurityIT.testAutoFollowPatterns() for monitoring docs
to be indexed.

Closes #84888

Now elastic#84467 has been backported to 7.17 (elastic#85514) the recent failures
are always due to monitoring docs not being indexed in monitoring
indices within 30s.

Similarly to what has been done for `AutoFollowIT.testAutoFollowPatterns()`
in elastic#85278 which reduced the number of failures, we can wait longer in
`FollowIndexSecurityIT.testAutoFollowPatterns()` for monitoring docs
to be indexed.

Closes elastic#84888
@tlrx tlrx added >test Issues or PRs that are addressing/adding tests :Distributed/CCR Issues around the Cross Cluster State Replication features auto-backport-and-merge v8.3.0 v8.2.1 v7.17.4 labels Apr 25, 2022
@elasticmachine elasticmachine added the Team:Distributed Meta label for distributed team. label Apr 25, 2022
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

@tlrx tlrx requested a review from idegtiarenko April 25, 2022 14:33
assertBusy(() -> verifyCcrMonitoring(allowedIndex, allowedIndex), 30, TimeUnit.SECONDS);
assertBusy(ESCCRRestTestCase::verifyAutoFollowMonitoring, 30, TimeUnit.SECONDS);
assertBusy(() -> verifyCcrMonitoring(allowedIndex, allowedIndex), 120L, TimeUnit.SECONDS);
assertBusy(ESCCRRestTestCase::verifyAutoFollowMonitoring, 120L, TimeUnit.SECONDS);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow. What could be taking that long?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think so but it is not fun to find the appropriate value that allows those tests to pass on CI so I've set it up quite large.

@tlrx tlrx merged commit 5bab086 into elastic:master Apr 26, 2022
@tlrx tlrx deleted the fix-84888 branch April 26, 2022 07:23
@tlrx
Copy link
Copy Markdown
Member Author

tlrx commented Apr 26, 2022

Thanks Ievgen!

tlrx added a commit to tlrx/elasticsearch that referenced this pull request Apr 26, 2022
…lastic#86140)

Now elastic#84467 has been backported to 7.17 (elastic#85514) the recent failures
are always due to monitoring docs not being indexed in monitoring
indices within 30s.

Similarly to what has been done for `AutoFollowIT.testAutoFollowPatterns()`
in elastic#85278 which reduced the number of failures, we can wait longer in
`FollowIndexSecurityIT.testAutoFollowPatterns()` for monitoring docs
to be indexed.

Closes elastic#84888
tlrx added a commit to tlrx/elasticsearch that referenced this pull request Apr 26, 2022
…lastic#86140)

Now elastic#84467 has been backported to 7.17 (elastic#85514) the recent failures
are always due to monitoring docs not being indexed in monitoring
indices within 30s.

Similarly to what has been done for `AutoFollowIT.testAutoFollowPatterns()`
in elastic#85278 which reduced the number of failures, we can wait longer in
`FollowIndexSecurityIT.testAutoFollowPatterns()` for monitoring docs
to be indexed.

Closes elastic#84888
elasticsearchmachine pushed a commit that referenced this pull request Apr 26, 2022
…86140) (#86172)

Now #84467 has been backported to 7.17 (#85514) the recent failures
are always due to monitoring docs not being indexed in monitoring
indices within 30s.

Similarly to what has been done for `AutoFollowIT.testAutoFollowPatterns()`
in #85278 which reduced the number of failures, we can wait longer in
`FollowIndexSecurityIT.testAutoFollowPatterns()` for monitoring docs
to be indexed.

Closes #84888
elasticsearchmachine pushed a commit that referenced this pull request Apr 26, 2022
…86140) (#86174)

Now #84467 has been backported to 7.17 (#85514) the recent failures
are always due to monitoring docs not being indexed in monitoring
indices within 30s.

Similarly to what has been done for `AutoFollowIT.testAutoFollowPatterns()`
in #85278 which reduced the number of failures, we can wait longer in
`FollowIndexSecurityIT.testAutoFollowPatterns()` for monitoring docs
to be indexed.

Closes #84888
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed/CCR Issues around the Cross Cluster State Replication features Team:Distributed Meta label for distributed team. >test Issues or PRs that are addressing/adding tests v7.17.4 v8.2.1 v8.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] FollowIndexSecurityIT testAutoFollowPatterns failing

3 participants