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

Only create ThreadGroups if FailOnTimeout.lookForStuckThread is true. #1691

Merged
merged 4 commits into from Jan 10, 2021

Conversation

kcooney
Copy link
Member

@kcooney kcooney commented Jan 3, 2021

This reduces the differences (where possible) when tests are run with a timeout.
Creating a ThreadGroup can cause noticeable differences, for example in code
that uses java.beans.ThreadGroupContext.

This reduces the differences (where possible) when tests are run with a timeout.
Creating a ThreadGroup can cause noticeable differences, for example in code
that uses java.beans.ThreadGroupContext.
Copy link
Member

@marcphilipp marcphilipp left a comment

Choose a reason for hiding this comment

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

Good idea! 👍

Copy link
Contributor

@stefanbirkner stefanbirkner left a comment

Choose a reason for hiding this comment

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

Nice catch and thanks for explaining the details in the comments.

Copy link
Member

@marcphilipp marcphilipp left a comment

Choose a reason for hiding this comment

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

Thanks! 👍

@kcooney kcooney added this to the 4.13.2 milestone Jan 3, 2021
@kcooney kcooney force-pushed the use-threadgroup-judiciously branch from d5f0bf1 to a501477 Compare January 4, 2021 21:56
@kcooney
Copy link
Member Author

kcooney commented Jan 4, 2021

I updated this pull so that the release notes documents the change. @marcphilipp and/or @stefanbirkner would you please review the release notes?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants