Skip to content

Fix hangdump not showing tests in progress #3992

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

Merged
merged 2 commits into from
Nov 4, 2024

Conversation

nohwnd
Copy link
Member

@nohwnd nohwnd commented Nov 4, 2024

Fixes cases where method names are same in multiple classes (e.g. TestMethod1) and are not visible among the hanging tests.

The bug happens when Class1.TestMethod1 and Class2.TestMethod1 run in parallel, and one of them is not hanging. The first one to complete will remove the entry from tests in progress.

Using UID reduces the chance of this happening significantly, and will also correctly show that two tests with name TestMethod1 were running.

Copy link
Member

@Evangelink Evangelink left a comment

Choose a reason for hiding this comment

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

Could you please add some test? Acceptance is probably the easiest.

@Evangelink Evangelink merged commit 6594ac5 into rel/3.6 Nov 4, 2024
6 checks passed
@Evangelink Evangelink deleted the fix-hangdump-not-showing-tests branch November 4, 2024 13:12
@Evangelink
Copy link
Member

Please forward port this.

@nohwnd
Copy link
Member Author

nohwnd commented Nov 4, 2024

#3999

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.

2 participants