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

testValidateSBMContent having problems with hostnames

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • EAP 5.0.0.BETA
    • EAP 5.0.0.BETA
    • System
    • None
    • Solaris 9/10 both x86 and sparc
      HPUX both ia64 and risc

      The test case ServiceBindingManagedObjects.validateSBMContent is having some problems with hostnames:

      <testcase classname="org.jboss.test.profileservice.test.ServiceBindingManagedObjectsTestCase" name="testValidateSBMContent" time="7.371">
      <failure message="expected:</10.16.94.208>; but was:<localhost/127.0.0.1>" type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError: expected:</10.16.94.208> but was:<localhost/127.0.0.1>
      at org.jboss.test.profileservice.test.ServiceBindingManagedObjectsTestCase.serviceBindingSetTest(ServiceBindingManagedObjectsTestCase.java:305)
      at org.jboss.test.profileservice.test.ServiceBindingManagedObjectsTestCase.testValidateSBMContent(ServiceBindingManagedObjectsTestCase.java:198)
      </failure>

      Seems as though 127.0.0.1 is getting picked up somewhere along the line instead of the bound IP address.

              bstansbe@redhat.com Brian Stansberry
              rachmato@redhat.com Richard Achmatowicz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: