Skip to content

Fix FollowIndexSecurityIT.testAutoFollowPatterns#87853

Merged
tlrx merged 2 commits intoelastic:masterfrom
tlrx:fix-84888
Jun 21, 2022
Merged

Fix FollowIndexSecurityIT.testAutoFollowPatterns#87853
tlrx merged 2 commits intoelastic:masterfrom
tlrx:fix-84888

Conversation

@tlrx
Copy link
Copy Markdown
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/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 Meta label for distributed team. label Jun 20, 2022
@elasticmachine
Copy link
Copy Markdown
Collaborator

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

@tlrx
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member Author

tlrx commented Jun 21, 2022

Thanks Martijn!

@elasticsearchmachine
Copy link
Copy Markdown
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/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.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