8000 Dont send any adapter other than from source directory for netcoreapp by Faizan2304 · Pull Request #875 · microsoft/vstest · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

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

Merged
merged 4 commits into from
Jun 18, 2017

Conversation

Faizan2304
Copy link
Contributor
  1. Reverted changes which were clearing extension cache after each request complete as it was breaking LUT
  2. 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>();
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: var

Copy link
Contributor Author

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)
Copy link
Contributor

Choose a reason for hiding this comment

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

use Any()

Copy link
Contributor Author

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();

Copy link
Contributor

Choose a reason for hiding this comment

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

nit: newline

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed!!

@Faizan2304 Faizan2304 merged commit 0b5bb15 into microsoft:rel/15.3-rtm Jun 18, 2017
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
0