Skip to content

Fix hangdump not showing tests in progress - #3992

Merged
Amaury Levé (Evangelink) merged 2 commits into
rel/3.6from
fix-hangdump-not-showing-tests
Nov 4, 2024
Merged

Fix hangdump not showing tests in progress#3992
Amaury Levé (Evangelink) merged 2 commits into
rel/3.6from
fix-hangdump-not-showing-tests

Conversation

@nohwnd

@nohwndJakub Jareš (nohwnd) commented Nov 4, 2024

Copy link
Copy Markdown
Member

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
Copy Markdown
Member

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
Amaury Levé (Evangelink) deleted the fix-hangdump-not-showing-tests branch November 4, 2024 13:12
@Evangelink

Copy link
Copy Markdown
Member

Please forward port this.

@nohwnd

Copy link
Copy Markdown
MemberAuthor

#3999

Sign up for freeto 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

@nohwnd@Evangelink