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

Configuring child domain's appbase to be test source location #659

Merged
merged 8 commits into from
Nov 26, 2019

Conversation

jayaranigarg
Copy link
Member

@jayaranigarg jayaranigarg commented Nov 18, 2019

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.


var sourceSettings = sourceSettingsProvider.GetSettings(source);
var parallelWorkers = sourceSettings.Workers;
Copy link
Contributor

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"

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, checked that.

Copy link
Contributor

@mayankbansal018 mayankbansal018 left a comment

Choose a reason for hiding this comment

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

:shipit:

Copy link
Contributor

@singhsarab singhsarab left a comment

Choose a reason for hiding this comment

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

:shipit:

@jayaranigarg jayaranigarg merged commit b715c12 into microsoft:master Nov 26, 2019
This was referenced Mar 16, 2021
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.

3 participants