Skip to content

Unit Tests does not run with latest Master #2133

@avknaidu

Description

@avknaidu

I'm submitting a...

Bug report (I searched for similar issues and did not find one)

Current behavior

None of the Unit Tests Except UnitTests.Notifications.NetCore runs with latest master.

Expected behavior

Unit Tests should run

Minimal reproduction of the problem with instructions

Pull or clone Latest Master and "Run All" unit Tests from "Test Explorer"

[22-May-18 2:37:12 AM Error] System.ArgumentException: The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
   at EnvDTE.Properties.Item(Object index)
   at Microsoft.VisualStudio.TestWindow.VsAdapters.DeviceSelectionHelper.GetSelectedTargetDeviceType(IVsHierarchy vsHierarchy, Boolean isManagedProject)
   at Microsoft.VisualStudio.TestWindow.VsAdapters.VsTestContainer.InitializeTestContainer()
[22-May-18 2:37:12 AM Informational] ------ Run test started ------
[22-May-18 2:38:25 AM Error] Microsoft.VisualStudio.TestPlatform.ObjectModel.TestPlatformException: Failed to initialize client proxy: could not connect to test process.
   at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Client.ProxyOperationManager.SetupChannel(IEnumerable`1 sources, CancellationToken cancellationToken)
   at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Client.ProxyExecutionManager.StartTestRun(TestRunCriteria testRunCriteria, ITestRunEventsHandler eventHandler)
[22-May-18 2:38:25 AM Error] Microsoft.VisualStudio.TestPlatform.ObjectModel.TestPlatformException: Failed to initialize client proxy: could not connect to test process.
   at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Client.ProxyOperationManager.SetupChannel(IEnumerable`1 sources, CancellationToken cancellationToken)
   at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Client.ProxyExecutionManager.StartTestRun(TestRunCriteria testRunCriteria, ITestRunEventsHandler eventHandler)
[22-May-18 2:38:25 AM Informational] ========== Run test finished: 0 run (0:01:13.0770135) ==========

image

Environment

Nuget Package(s): 

Package Version(s): 

Windows 10 Build Number:
- [ ] Creators Update (15063)
- [ ] Fall Creators Update (16299)
- [x] April 2018 Update (17134)
- [ ] Insider Build (build number: )

App min and target version:
- [x] Creators Update (15063)
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [ ] Insider Build (xxxxx)

Device form factor:
- [ ] Desktop
- [ ] Mobile
- [ ] Xbox
- [ ] Surface Hub
- [ ] IoT

Visual Studio 
- [X] 2017 (version: 15.7.1)
- [ ] 2017 Preview (version: )

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions