You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Paul Benedict (JIRA)" <ji...@codehaus.org> on 2014/07/02 15:45:21 UTC

[jira] (MNG-4229) ctrl+c interrupted maven junit tests don't actually get interrupted in windows

     [ https://jira.codehaus.org/browse/MNG-4229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Benedict updated MNG-4229:
-------------------------------

    Fix Version/s:     (was: Issues to be reviewed for 3.x)

> ctrl+c interrupted maven junit tests don't actually get interrupted in windows
> ------------------------------------------------------------------------------
>
>                 Key: MNG-4229
>                 URL: https://jira.codehaus.org/browse/MNG-4229
>             Project: Maven
>          Issue Type: Bug
>         Environment: windows
>            Reporter: Roger Pack
>            Priority: Minor
>
> At least for me, the following occurs
> create a junit test that sleeps for 10s
>   @Test
>   public void go() throws Exception {
>     System.out.println("SLEEPING 10s");
>     Thread.sleep(10000);
>     System.out.println("DONE SLEEPING");
>   }
> interrupt it
> SLEEPING 10s
> Destroying 1 processes
> Destroying process..
> Destroyed 1 processes
> Terminate batch job (Y/N)? y
> The process continues to run despite the Destroyed message.
> Seems to be windows only [linux kills the process well].  Several different boxes. 
> http://www.nabble.com/Destroying-process..-seems-to-fail-in-windows--td23655455.html
> No one seemed to have an answer.
> Sorry if this is the wrong place to post this.
> Thanks.
> =r



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)