Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix FollowIndexSecurityIT.testAutoFollowPatterns #87853

Merged
merged 2 commits into from
Jun 21, 2022
Merged

Conversation

tlrx
Copy link
Member

@tlrx tlrx commented Jun 20, 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.

Closes #84888

@tlrx tlrx added >test Issues or PRs that are addressing/adding tests :Distributed Indexing/CCR Issues around the Cross Cluster State Replication features v7.17.5 v8.3.1 labels Jun 20, 2022
@elasticmachine elasticmachine added the Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. label Jun 20, 2022
@elasticmachine
Copy link
Collaborator

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

@tlrx
Copy link
Member Author

tlrx commented Jun 21, 2022

@elasticmachine run elasticsearch-ci/docs

@tlrx tlrx requested a review from martijnvg June 21, 2022 09:06
Copy link
Member

@martijnvg martijnvg left a comment

Choose a reason for hiding this comment

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

👍

@tlrx tlrx merged commit 2582cec into elastic:master Jun 21, 2022
@tlrx tlrx deleted the fix-84888 branch June 21, 2022 15:18
@tlrx
Copy link
Member Author

tlrx commented Jun 21, 2022

Thanks Martijn!

@elasticsearchmachine
Copy link
Collaborator

💔 Backport failed

The backport operation could not be completed due to the following error:

An unexpected error occurred when attempting to backport this PR.

You can use sqren/backport to manually backport by running backport --upstream elastic/elasticsearch --pr 87853

tlrx added a commit to tlrx/elasticsearch that referenced this pull request 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.

Closes elastic#84888
elasticsearchmachine pushed a commit that referenced this pull request 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.

Closes #84888
tlrx added a commit to tlrx/elasticsearch that referenced this pull request 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.

Closes elastic#84888
tlrx added a commit that referenced this pull request 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.

Closes #84888
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed Indexing/CCR Issues around the Cross Cluster State Replication features Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. >test Issues or PRs that are addressing/adding tests v7.17.5 v8.3.1 v8.4.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CI] FollowIndexSecurityIT testAutoFollowPatterns failing
4 participants