You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tests that call Environment.FailFast do not fail immediately...
Steps to reproduce
Create a new Unit Test Project
Add a simple test method
Turn on Live Unit Testing
See the test run and pass
Add Environment.FailFast("test") to the test method
Expected behavior
Test should fail immediately and report a "not run" or "failed" result.
Actual behavior
Test times out after ~30 seconds with:
System.IO.IOException: Unable to communicate with test host process.
at Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.TestRequestSender.TryReceiveRawMessage()
at Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.TestRequestSender.ListenAndReportTestResults(ITestRunEventsHandler testRunEventsHandler)
Diagnostic logs
Please share test platform diagnostics logs. Instructions to collect logs are here.
The logs may contain test assembly paths, kindly review and mask those before sharing.
Environment
Please share additional details about the test environment.
Operating system, Build version of vstest.console
The text was updated successfully, but these errors were encountered:
Description
Steps to reproduce
Expected behavior
Actual behavior
Diagnostic logs
Environment
The text was updated successfully, but these errors were encountered: