[jboss-jira] [JBoss JIRA] (AS7-5217) Add test coverage for OSGi subsystem bootstrap scenarios

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Thu Aug 2 18:01:07 EDT 2012


    [ https://issues.jboss.org/browse/AS7-5217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12709597#comment-12709597 ] 

Thomas Diesler edited comment on AS7-5217 at 8/2/12 6:00 PM:
-------------------------------------------------------------

Manual test procedure

# boot with activation=lazy - The subsystem should not come up
# activate through the console - Configured capabilities should get installed/resolved/started
# restart. deploy a bundle through the console - Bundle should get started after capabilities
# restart with persistent bundle - Persistent bundle should get started after capabilities
# boot with activation=eager - Persistent bundle should get started after capabilities\
# remove persistent bundle
# restart with activation=eager - Configured capabilities should get installed/resolved/started

                
      was (Author: thomas.diesler):
    Manual test procedure

#1 boot with activation=lazy - The subsystem should not come up
#2 activate through the console - Configured capabilities should get installed/resolved/started
#3 restart. deploy a bundle through the console - Bundle should get started after capabilities
#4 restart with persistent bundle - Persistent bundle should get started after capabilities
#5 boot with activation=eager - Persistent bundle should get started after capabilities\
#6 remove persistent bundle
#7 restart with activation=eager - Configured capabilities should get installed/resolved/started

                  
> Add test coverage for OSGi subsystem bootstrap scenarios 
> ---------------------------------------------------------
>
>                 Key: AS7-5217
>                 URL: https://issues.jboss.org/browse/AS7-5217
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: OSGi
>            Reporter: Thomas Diesler
>             Fix For: 7.2.0.CR1
>
>
> Currently we don't test OSGi subsystem activation with persistent bundles. In the InitialDeploymentTracker there is a TODO that should get investigated/fixed
> {code}
>         protected boolean trackService(ServiceController<? extends Object> controller) {
>             // [TODO] currently we track all persistet deployments.
>             // If one fails it would mean that the OSGi framwork does not bootstrap
>             return deploymentPhaseServices.contains(controller.getName());
>         }
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list