Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-7271

Issue with ServletClientBusTestCase - testSingleDeploy (CXF testsuite)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • EAP_EWP 5.2.0 ER2
    • EAP_EWP 5.1.2 ER1, EAP_EWP 5.2.0 ER1
    • Web Services
    • None
    • Not Required
    • NEW

    Description

      I noticed issues with ServletClientBusTestCase - testSingleDeploy on IBM jdk. I was able to simulate it locally on IBM and Sun JDK. The issue occurs only when the AS has fresh start and no other test was executed. I start AS and run ServletClientBusTestCase for the fist time - it fails. But when I executed test for the second/third/fourth time it passes. Something must be internally initialized within the first run and so the next runs passes.

      My steps to reproduce:

      • start EAP 5.1.2.ER1
      • run mvn -e -Djboss510.home=/home/rsvoboda/TESTING/jboss-eap-5.1-CXF/jboss-as -Pjboss510,hudson,testsuite test -Dtest=org.jboss.test.ws.jaxws.cxf.bus.ServletClientBusTestCase — test fails
      • run the test again and it passes

      Links:

      Test error:

      Error Message
      
      expected:<[OK testBusCreation]> but was:<[Default bus set to org.apache.cxf.bus.CXFBusImpl@42ae42ae instead of expected null]>
      
      Stacktrace
      
      junit.framework.ComparisonFailure: expected:<[OK testBusCreation]> but was:<[Default bus set to org.apache.cxf.bus.CXFBusImpl@42ae42ae instead of expected null]>
      	at junit.framework.Assert.assertEquals(Assert.java:81)
      	at junit.framework.Assert.assertEquals(Assert.java:87)
      	at org.jboss.test.ws.jaxws.cxf.bus.ServletClientBusTestCase.testSingleDeploy(ServletClientBusTestCase.java:57)
      

      For details see for example:
      http://hudson.qa.jboss.com/hudson/view/EAP5-jbossws/job/eap51-jbossws-cxf-ibm/jdk=ibm16,label=RHEL4_x86/
      http://hudson.qa.jboss.com/hudson/view/EAP5-jbossws/job/eap51-jbossws-cxf-ibm/jdk=ibm16,label=RHEL5_x86_64/
      http://hudson.qa.jboss.com/hudson/view/EAP5-jbossws/job/eap51-jbossws-cxf-ibm/jdk=ibm16,label=RHEL6_i386/

      Attachments

        Issue Links

          Activity

            People

              rhn-support-asoldano Alessio Soldano
              rsvoboda@redhat.com Rostislav Svoboda
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: