This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 242231 - Terminating Test from status bar leaves process running in background
Summary: Terminating Test from status bar leaves process running in background
Status: RESOLVED DUPLICATE of bug 245474
Alias: None
Product: platform
Classification: Unclassified
Component: Execution (show other bugs)
Version: 7.4
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-22 21:41 UTC by mikekarrys
Modified: 2014-07-15 15:11 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mikekarrys 2014-02-22 21:41:05 UTC
When I run a test and is leaving a surefire process running in the background and I have to manually terminate them.
Comment 1 Theofanis Oikonomou 2014-05-02 15:28:20 UTC
I can reproduce in maven project but not in ant one. 

When I cancel the process from the status bar the Test Results window is activated, stating e.g. that no tests are executed, but the surefire process continues and in the output window there is no message like

BUILD STOPPED (total time: 5 seconds)

as it is in the ant case. re-assigning for evaluation. Thank you
Comment 2 Tomas Stupka 2014-05-16 14:17:33 UTC
maven is simply calling:

ProcessDestroyPerformer pdp = Lookup.getDefault().lookup(ProcessDestroyPerformer.class);
pdp.destroy(process, env);

please evaluate
Comment 3 Petr Hejl 2014-07-15 15:11:41 UTC

*** This bug has been marked as a duplicate of bug 245474 ***