[jboss-jira] [JBoss JIRA] (AS7-4643) Failure of SimpleRunAsClientTestCase in some environments

Darran Lofthouse (JIRA) jira-events at lists.jboss.org
Thu Apr 26 07:32:18 EDT 2012


Darran Lofthouse created AS7-4643:
-------------------------------------

             Summary: Failure of SimpleRunAsClientTestCase in some environments
                 Key: AS7-4643
                 URL: https://issues.jboss.org/browse/AS7-4643
             Project: Application Server 7
          Issue Type: Bug
          Components: OSGi, Test Suite
         Environment: Only some environments - see attached test output for complete capture of details.
            Reporter: Darran Lofthouse
            Assignee: Thomas Diesler
             Fix For: 7.1.2.Final-redhat1
         Attachments: SimpleRunAsClientTestCase.tgx

The test org.jboss.as.test.smoke.osgi.SimpleRunAsClientTestCase is failing in a couple of environments, unfortunately the failure seems related to the other tests as running just this test passes without error.

Will attach the logs but it appears the bundle is undeployed before the mgmt op is handled leading to a NPE in the test.

java.lang.NullPointerException
  at org.jboss.as.test.osgi.OSGiManagementTest.getBundleId(OSGiManagementTest.java:96)
  at org.jboss.as.test.smoke.osgi.SimpleRunAsClientTestCase.testClientDeploymentAsArchive(SimpleRunAsClientTestCase.java:59)

For other issues in the past I have seen that test order can vary by environment and for some reason my environment seems to pick the unique order ;-) so wouldn't rule out another test being the case.


--
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