[
https://issues.apache.org/jira/browse/SLING-5089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefan Seifert resolved SLING-5089.
-----------------------------------
Resolution: Fixed
Completed: At revision: 1706447
> mock-osgi: Deactivate all services on shutdown
> ----------------------------------------------
>
> Key: SLING-5089
> URL: https://issues.apache.org/jira/browse/SLING-5089
> Project: Sling
> Issue Type: New Feature
> Components: Testing
> Affects Versions: Testing OSGi Mock 1.5.0
> Reporter: Stefan Seifert
> Assignee: Stefan Seifert
> Labels: mocks
> Fix For: Testing OSGi Mock 1.5.2
>
>
> currently not deactivate method is called on registered osgi services if it
> is not done explicitly in the unit test code.
> this may cause problems if the services has opened resources (e.g. files,
> threads) that needs to be cleaned up in the deactivate method.
> we should deactivate all registered services when each unit test run is
> complete.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)