Skip to content

[TEST] Fix SimpleThreadPoolIT file watcher thread name#89624

Merged
grcevski merged 1 commit intoelastic:mainfrom
grcevski:file_watcher_thread_name
Aug 25, 2022
Merged

[TEST] Fix SimpleThreadPoolIT file watcher thread name#89624
grcevski merged 1 commit intoelastic:mainfrom
grcevski:file_watcher_thread_name

Conversation

@grcevski
Copy link
Copy Markdown
Contributor

The JDK implementation of the Watcher service is platform dependent and the two base implementations: PollingWatchService and AbstractPoller differ in the internal thread name they use: FileSystemWatchService and FileSystemWatcher, respectively.

The current SimpleThreadPoolIT test matches the JDK thread name for Linux and Windows, but you may get failures when running locally on MacOS (which uses the polling implementation).

@grcevski grcevski added >test Issues or PRs that are addressing/adding tests :Core/Infra/Core Core issues without another label Team:Core/Infra Meta label for core/infra team auto-backport-and-merge v8.4.1 v8.5.0 labels Aug 25, 2022
@grcevski grcevski requested a review from joegallo August 25, 2022 16:00
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

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

@grcevski grcevski merged commit dc4debc into elastic:main Aug 25, 2022
@grcevski
Copy link
Copy Markdown
Contributor Author

Thanks Joe!

@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

💚 Backport successful

Status Branch Result
8.4

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

Labels

:Core/Infra/Core Core issues without another label Team:Core/Infra Meta label for core/infra team >test Issues or PRs that are addressing/adding tests v8.4.1 v8.5.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants