Skip to content

Conversation

@idegtiarenko
Copy link
Contributor

@idegtiarenko idegtiarenko commented Mar 28, 2022

In case of failure testAutoFollowPatterns will leave autofollowing
pattern running that would case assertion failure in other test cases

Closes: #85147

In case of failure testAutoFollowPatterns will leave autofollowing
pattern ranning that would case assertion failure in other test cases
@idegtiarenko idegtiarenko added >test-failure Triaged test failures from CI :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. v8.2.0 labels Mar 28, 2022
@idegtiarenko idegtiarenko requested a review from tlrx March 28, 2022 15:57
@elasticmachine
Copy link
Collaborator

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

Comment on lines 185 to 189
} finally {
// Cleanup by deleting auto follow pattern and pause following:
assertOK(client().performRequest(new Request("DELETE", "/_ccr/auto_follow/test_pattern")));
pauseFollow(client(), allowedIndex);
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Actual fix

Copy link
Member

@tlrx tlrx left a comment

Choose a reason for hiding this comment

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

LGTM

@idegtiarenko
Copy link
Contributor Author

Thank you, @tlrx!

@idegtiarenko
Copy link
Contributor Author

@elasticmachine please run elasticsearch-ci/part-1

@idegtiarenko idegtiarenko merged commit 92c4538 into elastic:master Mar 30, 2022
@idegtiarenko idegtiarenko deleted the 85147 branch March 30, 2022 06:18
@elasticsearchmachine
Copy link
Collaborator

💔 Backport failed

Status Branch Result
7.17 Commit could not be cherrypicked due to conflicts
8.1 Commit could not be cherrypicked due to conflicts

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

idegtiarenko added a commit that referenced this pull request Mar 30, 2022
)

In case of failure testAutoFollowPatterns will leave auto-following
pattern running that would case assertion failure in other test cases

(cherry picked from commit 92c4538)
idegtiarenko added a commit to idegtiarenko/elasticsearch that referenced this pull request Mar 30, 2022
…stic#85401)

In case of failure testAutoFollowPatterns will leave auto-following
pattern running that would case assertion failure in other test cases

(cherry picked from commit 92c4538)
elasticsearchmachine pushed a commit that referenced this pull request Mar 30, 2022
#85481)

* Assert actual follow tasks instead of count (#85151)

Currently, the test is flaky and sometimes fails with expected 1 but was
 2 failure. Updating the code to assert against collection content to
 collect additional information on the cause of the failure.

(cherry picked from commit e31be1b)

* Ensure the cleanup in testAutoFollowPatterns is always happening (#85401)

In case of failure testAutoFollowPatterns will leave auto-following
pattern running that would case assertion failure in other test cases

(cherry picked from commit 92c4538)
elasticsearchmachine pushed a commit that referenced this pull request Mar 30, 2022
…ng (#85482)

* Assert actual follow tasks instead of count (#85151)

Currently, the test is flaky and sometimes fails with expected 1 but was
 2 failure. Updating the code to assert against collection content to
 collect additional information on the cause of the failure.

(cherry picked from commit e31be1b)

* Ensure the cleanup in testAutoFollowPatterns is always happening (#85401)

In case of failure testAutoFollowPatterns will leave auto-following
pattern running that would case assertion failure in other test cases

(cherry picked from commit 92c4538)

* revert java 17 usage
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-failure Triaged test failures from CI v7.17.3 v8.1.3 v8.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] FollowIndexSecurityIT testFollowIndex failing

4 participants