Skip to content

Python test runner reliability issues with vs code version 1.6 #17308

@briansmi

Description

@briansmi

Does this issue occur when all extensions are disabled?: No

  • VS Code Version:1.60.0
  • OS Version: Win 10.0.19043

Steps to Reproduce:

I just upgraded to 1.6 and I'm have serious test runner reliability issues. I'm using the ms extensions for Python and vscode-pylance. For testing I'm using python.testing.unittest. Every time I start a test run on a fraction of my ~180 tests actually run. I've never had this issue previously and my 180 test suite runs very reliably in about 10 seconds. This is really frustrating as testing is so critical to my development workflow.

  1. Clear All test Results
  2. Run All tests - from the root test to ensure that all tests are run
  3. Random number of tests (for example, 47/47 or 58/58 or 122/122) will run out of a suite of 180 tests
    4.Maybe 1 out of 8 runs will run all 180 tests

Not sure if this is related, but I see an 'ERROR: read ECONNRESET' after each test execution in the python output

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bug

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions