Skip to content

Cancel test does not terminate process #337

Description

@appls

Hi Christian,

I use GoogleTestAdapter 0.18.0. I set "Terminate process on cancel" to "True".
When I do a Debug-Run of my test I can terminate the test execution and this results in termination of the running process as expected.
However when I do a "normal" Run of my test and I terminate the test execution the process is not terminated and continues to run in the background while the Test Explorer already shows that the test has been canceled. Is my configuration somehow wrong or do I have the wrong assumption that the process should also terminate on cancel?
I took a quick look into the code (GoogleTestAdapter/GoogleTestAdapter/Core/Runners/SequentialTestRunner.cs, l. 75 ff.) but did not find anything suspicious.

Any suggestions are appreciated. Hope to hear from you.
Cheers,
Tobias

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions