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

David Bosschaert (JIRA) jira-events at lists.jboss.org
Tue Apr 19 12:22:33 EDT 2011


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


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