karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Resolved] (KARAF-2348) Tooling-Exam does not wait for a complete test container shutdown
Date Tue, 25 Feb 2014 07:43:19 GMT

     [ https://issues.apache.org/jira/browse/KARAF-2348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jean-Baptiste Onofré resolved KARAF-2348.
-----------------------------------------

    Resolution: Won't Fix

It's fixed on Pax Exam side.

> Tooling-Exam does not wait for a complete test container shutdown
> -----------------------------------------------------------------
>
>                 Key: KARAF-2348
>                 URL: https://issues.apache.org/jira/browse/KARAF-2348
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-tooling
>    Affects Versions: 2.3.1
>            Reporter: Martin Lichtin
>
> Symptoms of the issue:
>  - a subsequent Karaf tooling exam test cannot open its ports
>  - the target folder cannot be deleted. log output:
>    ("Can't remove runtime system; shedule it for exit of the jvm.")
> The approach to stop Karaf is to stop bundle 0. However, KarafJavaRunner
> should then also wait for the Karaf process in its shutdown() method.
> Probably something like
> {code} 
>     @Override
>     public synchronized void shutdown() {
>         // runner.shutdown();
>         runner.waitForExit(); // and calls runner.shutdown()
>     }
> {code} 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message