Description
Description
Running action "Reset cache and configure project" when server is unavailable results in VS Code error:
"14 UNAVAILABLE read ECONNRESET"
To Reproduce
Preconditions:
- A project was already configured and the tests were generated on a remote server.
- No connection to the server (ssh service is stopped f.e.)
Steps to reproduce the behavior:
- Open the project in VS Code
- Run action "Reset cache and configure project"
- Generate tests for a file...
Expected behavior
2. Some notification from UTBot plugin should be displayed explaining that connection is lost.
3. New test should be generated.
Actual behavior
2. VS Code error message is displayed: "14 UNAVAILABLE read ECONNRESET"
3. No output is viewed - no errors and no new tests.
Visual proofs (screenshots, logs)
// Upload of image (even 100 KB) is blocked by github.
// I will keep the screenshot locally - please feel free to request it when bug analysis starts.
Environment
Windows 10 Pro
VS Code Version: 1.68.1 (user setup)
Server is configured as docker container. Was working fine when connection is up.
Metadata
Metadata
Assignees
Type
Projects
Status