Running "Cover Unit Tests" from the test runner in 2018.1 hangs after completing all tests and logs Sockets error eventually

If I run the cover tests the runner indicates all tests have completed (passed) but the Stop Execution icon is still enabled (red), you cannot run any tests from VS until the Socket eventually errors out (takes about 2-3 minutes.

Once that happens you will see this log entry in the log window (the paper icon with the OK text in the far right).

2018.05.14 14:23:53.284 ERROR System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)
at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)
at JetBrains.Profiler.Windows.RemoteApi.Impl.Version0000.RemoteProfile0000.ProcessAsyncResult(IAsyncResult asyncResult)

Running the tests normally does not have this problem.

Also I can confirm that "Cover Tests Remotely" is disabled in my settings, however it would seem that the setting may not be honored in this build.

Thoughts anyone?

0
1 comment
Avatar
Permanently deleted user

Hello Willian,

could you please send us dotCover logs with CoreLogMask=Api,Bridge ?

How to get logs

Please attach those logs to a support ticket I just created.

0

Please sign in to leave a comment.