Uploaded image for project: 'Cactus'
  1. Cactus
  2. CACTUS-134

custom hostname to run test by <cactus> task

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 1.7
    • 1.7.1
    • Ant Integration
    • None
    • Linux 2.4, JBoss 3.2.5

    Description

      When starting container to run tests <cactus> ant task always tries to connect "http://locahost:<port>/<context>" even if container does not listen localhost interface.

      Connection to localhost is hardcoded in CactusTask class:
      http://localhost:" + containers[i].getPort() + "/"
      + thisDeployable.getTestContext()

      Configuring hostname via <cactus> task attribute can be useful to run tests against container run on "dummy" interface or remote container.

      Attachments

        Activity

          People

            vmassol Vincent Massol
            mgordienko Maxim Gordienko
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: