Skip to content

Test won't update when finished #8314

Closed
@CMLL

Description

@CMLL

Environment data

  • VS Code version: 1.39.2
  • Extension version (available under the Extensions sidebar): 2019.11.45227-dev
  • OS and version: Ubuntu 19.04
  • Python version (& distribution if applicable, e.g. Anaconda): 2.7
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): virtualenv
  • Relevant/affected Python packages and their versions: pytest
  • Jedi or Language Server? (i.e. what is "python.jediEnabled" set to; more info How to update the language server to the latest stable version #3977): jedi

Expected behaviour

Test shows the correct either completed or failed in the test explorer.

Actual behaviour

Test icon keeps spinning and doesn't complete.

Steps to reproduce:

  1. Discover several folders of tests.
  2. Trigger a single test class from the test browser.
  3. Tail the output of the test on the Python Test Log output window.
  4. Notice the test completes, either failure or pass.
  5. Notice the test icon keeps spinning in the test browser.

This doesn't happen when I run all the tests, but only execute a subset of them. And doesn't happen when I execute the subset of test from the link on top of the test name but rather the play button on the test explorer.

Logs

Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue identified by VS Code Team member as probable bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions