Skip to content

Cannot abort a hanging test-session #101

Closed

Description

@falco467

Most of the time when I run a Test-Suite in a Spring MVC-Application the Java-Process keeps hanging after all Tests are run. The "Running Tests" indicator will keep spinning indefinitely although the last line of output reads:
Total tests run: 1, Failures: 0, Skips: 0

The Java-Process will even keep running as a zombie-process if I close VS-Code. The only way to stop it is to kill it via Task-Manager.

Expected Behavior:

  1. The Java-Process should exit automatically after all Tests have completed
  2. If VS-Code is closed a still running Test should be terminated.
  3. There should be an option to terminate the running test-case.

Activity

  1. PratimGhosh86 commented on Feb 28, 2018

    @PratimGhosh86

    Same issue here. For reference, i'm using the following project: https://github.com/PratimGhosh86/quick-poc

  2. jacobohidalgo commented on Mar 7, 2018

    @jacobohidalgo

    Same issue

  3. viperx77 commented on Apr 4, 2018

    @viperx77

    Same issue

  4. added this to the 0.6.0 milestone on Apr 12, 2018
  5. bmcgreer commented on May 21, 2018

    @bmcgreer

    Same issue here. IMO, it's not that we want to cancel a running session, it's that we don't want the session to hang in the first place.

  6. ansyral commented on Jul 4, 2018

    @ansyral
    Collaborator

    Falco (@falco467) Pratim Ghosh (@PratimGhosh86) jacobohidalgo viperx77 Brian (@bmcgreer) I've merged a fix, this would be released in 0.7.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions