everit-org / eosgi-maven-plugin

A Maven plugin that runs Integration Tests inside OSGi containers and collects OSGi Bundle dependencies to be able to use them inside any IDE.
Apache License 2.0
4 stars 5 forks source link

Fake successful build #5

Closed ghost closed 11 years ago

ghost commented 11 years ago

The plugin reports a successful build in cases when all integration tests are completed successfully but the server doesn't stop gracefully until timeout.

balazs-zsoldos commented 11 years ago

In case a non-deamon thread is running after the OSGi framework is stopped the build fails. It is a good behaviour as unstoppable JVMs are not acceptable on production servers, too.

Till Equinox 3.7.2 if the console is switched on the JVM cannot be stopped gracefully. The console is useful at development time but for CI builds it should be switched off.

In case there is no non-deamon thread in the JVM, the tests run well and the plugin still fails please reopen an issue with a test application that makes it possible to reproduce the issue.