Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-3786

Some non-Arquillian TestCases are run against hard-coded 127.0.0.1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 7.1.1.Final
    • 7.1.0.Final
    • Test Suite
    • None

      Some TestCases are hard bound to 127.0.0.1 IP address. I think, it is useless - especially testing in IPv6 environment is impossible in this case for a such TestCase(-s).

      These classes aren't in integration testsuite part, it is in other places.

      Some of them are (maybe I've overlooked some others):

      • org.jboss.as.protocol.mgmt.RemoteChannelManagementTestCase
      • org.jboss.as.controller.test.RemoteChannelProxyControllerTestCase
      • org.jboss.as.controller.test.RemoteProxyControllerProtocolTestCase
      • org.jboss.as.controller.ModelControllerClientTestCase
      • org.jboss.as.jmx.JMXSubsystemTestCase
      • org.jboss.as.jmx.ModelControllerMBeanTestCase

      Otherwise these tests are run before IP address transformation (usually used node0 variable and tranforms AS7 config file standalone-*.xml), so maybe there isn't present now any mechanism how to get/propagate proper (and wanted) IP address.

      Also note - some of them are hardcoded to IP name alias localhost - see JBPAPP-8132 for localhost vs. localhost6.

            ozizka_jira Ondrej Zizka (Inactive)
            pjanouse@redhat.com Pavel Janousek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: