Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure the PoolBasedSequentialScheduledExecutorService does keep a minimum size #4288

Merged
merged 1 commit into from
Jul 1, 2024

Conversation

joerg1985
Copy link
Contributor

This PR will ensure the PoolBasedSequentialScheduledExecutorService does keep the configured minimum size.
The unit test does now only need to spawn 10 new threads instead of up to 20, this should fix the latency issue.

@holgerfriedrich could you please run the CI multiple times for this PR to see if it does fix the issue?

Signed-off-by: Jörg Sautter joerg.sautter@gmx.net

…nimum size

Signed-off-by: Jörg Sautter <joerg.sautter@gmx.net>
@joerg1985
Copy link
Contributor Author

@holgerfriedrich The issue is still present, now i have updated the timeout to see if this helps.

@holgerfriedrich holgerfriedrich added rebuild Triggers the Jenkins PR build and removed rebuild Triggers the Jenkins PR build labels Jul 1, 2024
@wborn wborn added rebuild Triggers the Jenkins PR build and removed rebuild Triggers the Jenkins PR build labels Jul 1, 2024
@holgerfriedrich holgerfriedrich added bug An unexpected problem or unintended behavior of the Core and removed test labels Jul 1, 2024
@holgerfriedrich
Copy link
Member

The CI seems to work better with the change - so far I could tell based on the few rebuilds I triggered. Jenkins fails seem to be unrelated.
@kaikreuzer Could you please have a look at this, AFAIR you reviewed and merged #4247. Thanks!

@joerg1985
Copy link
Contributor Author

@holgerfriedrich i could split this into the timeout change of the unit test and the other change. This would take the pressure out of the review. What do you think?

Copy link
Member

@kaikreuzer kaikreuzer left a comment

Choose a reason for hiding this comment

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

No need to split the PR, let's merge it together - thanks!

@kaikreuzer kaikreuzer added this to the 4.2 milestone Jul 1, 2024
@kaikreuzer kaikreuzer merged commit cef917f into openhab:main Jul 1, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of the Core regression
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ThreadPoolManagerTest unstable, affecting all CI builds
4 participants