[jboss-jira] [JBoss JIRA] Resolved: (JBAS-9359) Intermittent failure in SimpleArchiveDeployerTestCase

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Thu Apr 21 05:41:37 EDT 2011


     [ https://issues.jboss.org/browse/JBAS-9359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Diesler resolved JBAS-9359.
----------------------------------

    Fix Version/s: 7.0.0.Beta4
       Resolution: Done


Done

> Intermittent failure in SimpleArchiveDeployerTestCase
> -----------------------------------------------------
>
>                 Key: JBAS-9359
>                 URL: https://issues.jboss.org/browse/JBAS-9359
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: OSGi integration
>    Affects Versions: 7.0.0.Beta3
>            Reporter: David Bosschaert
>            Assignee: Thomas Diesler
>             Fix For: 7.0.0.Beta4
>
>
> In the JBoss AS Codebase (in testsuite/smoke) org.jboss.as.test.embedded.osgi.SimpleArchiveDeployerTestCase has the following code @line 30:
>   archiveDeployer.undeploy(depname);
>   OSGiTestHelper.assertBundleState(Bundle.UNINSTALLED, bundle.getState());
> However in some cases the bundle state hasn't reached UNINSTALLED yet when the assertion is done.  In some cases the state is still RESOLVED. 
> This causes this test to fail intermittently. Experiments show that this seems to be a timing issue in the test and that the bundle does reach the UNINSTALLED state eventually.
> For the moment the assert line above is commented out, but it needs to be fixed properly.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list