-
Notifications
You must be signed in to change notification settings - Fork 337
Dont send any adapter other than from source directory for netcoreapp #875
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
Dont send any adapter other than from source directory for netcoreapp #875
Conversation
- Reverted changes which were clearing extension cache after each request complete as it was breaking LUT
- Sending adapter from source directory so that net46 adapter will not get used to run netcoreapp tests
@@ -176,20 +176,25 @@ public void Abort() | |||
|
|||
private void InitializeExtensions(IEnumerable<string> sources) | |||
{ | |||
var sourceList = sources.ToList(); | |||
var extensions = this.testHostManager.GetTestPlatformExtensions(sourceList, TestPluginCache.Instance.DefaultExtensionPaths).ToList(); | |||
List<string> extensions = new List<string>(); |
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.
nit: var
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.
Fixed!!
// Only send this if needed. | ||
if (extensions.Count() > 0) | ||
if (extensionsToInitialize.Count() > 0) |
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.
use Any()
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.
Fixed!!
expectedResult.AddRange(TestPluginCache.Instance.DefaultExtensionPaths); | ||
|
||
this.testDiscoveryManager.Initialize(); | ||
|
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.
nit: newline
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.
fixed!!