Skip to content

Conversation

@rjernst
Copy link
Member

@rjernst rjernst commented Mar 16, 2025

In tests for file settings the master node is started async. The assertion that the master node's file setting service is watching for changes must then wait until the async thread has started. Some tests already do that. This PR adjusts the remaining tests to similarly wait for the master node's watcher thread to start.

closes #124279

In tests for file settings the master node is started async. The
assertion that the master node's file setting service is watching for
changes must then wait until the async thread has started. Some tests
already do that. This PR adjusts the remaining tests to similarly wait
for the master node's watcher thread to start.

closes elastic#124279
@rjernst rjernst added >test Issues or PRs that are addressing/adding tests :Core/Infra/Settings Settings infrastructure and APIs auto-backport Automatically create backport pull requests when merged v8.18.1 v8.19.0 v9.0.1 v9.1.0 labels Mar 16, 2025
@rjernst rjernst requested a review from mosche March 16, 2025 14:51
@elasticsearchmachine elasticsearchmachine added the Team:Core/Infra Meta label for core/infra team label Mar 16, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

Copy link
Contributor

@mosche mosche left a comment

Choose a reason for hiding this comment

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

Thank you, LGTM

@rjernst rjernst merged commit e39f14d into elastic:main Mar 17, 2025
17 checks passed
rjernst added a commit to rjernst/elasticsearch that referenced this pull request Mar 17, 2025
@rjernst rjernst deleted the file_settings/guard_test_watching branch March 17, 2025 12:38
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.18
8.x
9.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged :Core/Infra/Settings Settings infrastructure and APIs Team:Core/Infra Meta label for core/infra team >test Issues or PRs that are addressing/adding tests v8.18.1 v8.19.0 v9.0.1 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] FileSettingsServiceIT testErrorSaved failing

3 participants