-
Notifications
You must be signed in to change notification settings - Fork 259
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
Configuring child domain's appbase to be test source location #659
Configuring child domain's appbase to be test source location #659
Conversation
|
||
var sourceSettings = sourceSettingsProvider.GetSettings(source); | ||
var parallelWorkers = sourceSettings.Workers; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ensure that default values for sourceSettings.Workers, & Scope is set appropriately in case we fail to create instance of "TestAssemblySettingsProvider"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, checked that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
src/Adapter/MSTest.CoreAdapter/Execution/TestExecutionManager.cs
Outdated
Show resolved
Hide resolved
src/Adapter/MSTest.CoreAdapter/Execution/TestExecutionManager.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As part of this fix, we are setting child's appdomain to point to the test source location so that the dependencies gets picked up from the the test source location itself or we honor the relative path specified in app.config file.
In scenario where we have multiple projects in a solution each using different versions of adapter, currently we run the projects with highest version of adapter referenced in that solution irrespective of the version a project references. After this fix, there will be a behavior change where each project will be run using the exact adapter version that particular project references and not the highest one in that solution.