You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
In case of testing a command which starts a long-running service, how would the test stop it?
Specifically, I am using CmdRunner.run() to start the service; it returns a Process. My test interacts with the service and ends. But the service keeps running. I'd like to kill the Child process in Process. But there is no such api on Process.
Is it possible to add such functionality?
Thanks.
The text was updated successfully, but these errors were encountered:
Hi,
In case of testing a command which starts a long-running service, how would the test stop it?
Specifically, I am using CmdRunner.run() to start the service; it returns a Process. My test interacts with the service and ends. But the service keeps running. I'd like to kill the Child process in Process. But there is no such api on Process.
Is it possible to add such functionality?
Thanks.
The text was updated successfully, but these errors were encountered: