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

Feat: Add [STATestClass] #3278

Merged
merged 3 commits into from
Jul 18, 2024
Merged

Conversation

Evangelink
Copy link
Member

Replaces #3188 and fixes #2688


try
{
var threadTask = Task.Run(entryPointThread.Join);
Copy link
Contributor

Choose a reason for hiding this comment

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

I suppose we could use a TCS to avoid to waste a thread of the pool

try
{
if (shouldRunClassCleanup)
using LogMessageListener logListener = new(MSTestSettings.CurrentSettings.CaptureDebugTraces);
Copy link
Contributor

Choose a reason for hiding this comment

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

oh my broken friend...

Copy link
Contributor

@MarcoRossignoli MarcoRossignoli left a comment

Choose a reason for hiding this comment

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

TCS aside looks fine

@Evangelink
Copy link
Member Author

TCS aside looks fine

Given that we have other places in the code that need the same fix, I will merge this PR as-is and do a follow-up fixing the various locations.

@Evangelink Evangelink merged commit 7f288a9 into microsoft:main Jul 18, 2024
7 checks passed
@Evangelink Evangelink deleted the statestclassattribute branch July 18, 2024 10:55
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.

Introduce [STATestMethod] and [STATestClass]
3 participants