Skip to content

[8.0] Watcher fix ActivateWatchTests (#82157)#82208

Merged
elasticsearchmachine merged 1 commit intoelastic:8.0from
jakelandis:backport/8.0/pr-82157
Jan 4, 2022
Merged

[8.0] Watcher fix ActivateWatchTests (#82157)#82208
elasticsearchmachine merged 1 commit intoelastic:8.0from
jakelandis:backport/8.0/pr-82157

Conversation

@jakelandis
Copy link
Copy Markdown
Contributor

Backports the following commits to 8.0:

This commit attempts to fix a set of Watcher tests that can
fail due to unexpected execution of Watches after Watcher has been stopped.

The theory here is that a Watch can be queued but not fully executed
then Watcher is shutdown, the test does some clean up, then the
queued Watch finishes execution and causes some some additional cleanup
to fail.

The change here ensures that when Watcher is stopped from AbstractWatcherIntegrationTestCase
that it will also wait until there are no more current Watches executing.

closes elastic#66495
@jakelandis jakelandis added auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport labels Jan 4, 2022
@elasticsearchmachine elasticsearchmachine merged commit 9918ebd into elastic:8.0 Jan 4, 2022
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!) backport v8.0.0-rc2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants