Skip to content

Watcher fix testTriggeredWatchLoading#82155

Merged
elasticsearchmachine merged 1 commit intoelastic:masterfrom
jakelandis:attempt_fix_for_67729
Dec 30, 2021
Merged

Watcher fix testTriggeredWatchLoading#82155
elasticsearchmachine merged 1 commit intoelastic:masterfrom
jakelandis:attempt_fix_for_67729

Conversation

@jakelandis
Copy link
Copy Markdown
Contributor

In all reported cases it appears that the found count is > expected count.
It is suspected that there are some Watches from previous tests
still pending in the .triggered_watches index causing extra Watches to be executed.

The change here is to ensure that .triggered_watches is removed prior to the
test run ensuing a clean slate.

closes #67729

@jakelandis jakelandis added >test Issues or PRs that are addressing/adding tests :Distributed/Watcher auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) v8.1.0 labels Dec 30, 2021
@jakelandis jakelandis requested a review from martijnvg December 30, 2021 19:53
@elasticmachine elasticmachine added the Team:Data Management (obsolete) DO NOT USE. This team no longer exists. label Dec 30, 2021
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

@elasticsearchmachine elasticsearchmachine merged commit 689620f into elastic:master Dec 30, 2021
@jakelandis
Copy link
Copy Markdown
Contributor Author

@martijnvg - Can you please do a quick post review merge review ? I had assumed that auto-merge would wait until a review :/

@martijnvg
Copy link
Copy Markdown
Member

LGTM! And this test hasn't failed since December 22th.

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!) :Distributed/Watcher Team:Data Management (obsolete) DO NOT USE. This team no longer exists. >test Issues or PRs that are addressing/adding tests v8.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BootStrapTests#testTriggeredWatchLoading can fail assertion

4 participants