-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux: when tests (Gradle, JUnit, Xvfb display, v0.34.0) are killed with Ctrl+C locally, tested IDE keeps running in the background #211
Comments
It is on jvm shutdown, maybe jvm that is used for tests keeps running? Maybe it is the gradle daemon that just aborts the task. Are you forking the jvm for tests? |
Okay... I can't reproduce it myself now indeed 😅 lemme close, maybe I was wrong |
Whoops no, quite a lot of IDEs running 😅 Maybe a matter of running them under
|
Hm 🤔 Looks like such issue does not exist anymore? Or maybe it exists only on linux machines? I did the test with Crtrl+c using one UI test from git-machete-intellij-plugin. And the process has been killed the same moment I used Ctrl+c
|
or maybe it depends on when user tries to kill the process with Ctrl+c ? |
ok, when I kill it later, after IntelliJ startup - in fact some process still lives -
|
GradleWorkerMain is well expected... the problem is with |
Yeah, I switched to mac recently, cannot not reproduce the problem anymore. Lemme update the issue title... |
org.virtuslab.ideprobe.IntelliJFixture#startIntelliJ
hasRuntime.getRuntime.addShutdownHook(new Thread(() => runningIde.shutdown()))
, so theoretically the IDE should always get killed... but I observe that IDEs accumulate from Gradle runs that's been killed with Ctrl+C 🤔The text was updated successfully, but these errors were encountered: