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

Allow sharing testhosts for non-paralell runs on a Shared testhost #3682

Merged
merged 4 commits into from
May 30, 2022

Conversation

nohwnd
Copy link
Member

@nohwnd nohwnd commented May 26, 2022

When runtime provider indicates that it is Shared (.NET Framework testhost), batch up the sources that are provided and
run the on the same testhost process.

For any non-shared, or any parallel run, prefer splitting the workloads per source and putting them on separate processes.

This is in-line with how TP 16.6.1 works for non-paralell discovery and execution and ensures that big runs on shared host are able to share the testhost for all dlls.

Related issue

Fixes part of #3647

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 we try to add tests to avoid regressions around the new logic?

@nohwnd
Copy link
Member Author

nohwnd commented May 26, 2022

Tests are in place, they just need to be reverted to reflect that we reverted to this new-old behavior. We will see them fail here imho. If not it will be very strange.

@nohwnd nohwnd closed this May 27, 2022
@nohwnd nohwnd reopened this May 27, 2022
@nohwnd
Copy link
Member Author

nohwnd commented May 27, 2022

@shyamnamboodiripad this is the regression fix.

@Evangelink Evangelink merged commit bd12521 into microsoft:main May 30, 2022
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