Stefan Seifert created SLING-5089:
-------------------------------------

             Summary: 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
             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)

Reply via email to