Uploaded image for project: 'CXF-Fediz'
  1. CXF-Fediz
  2. FEDIZ-37

Dynamically assign ports for unit testing to avoid port conflict

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.1.0
    • 1.1.0
    • IDP, Plugin
    • None

    Description

      Following ports are configured:
      IDP HTTPS port: 54567
      IDP HTTP port: 54568

      RP HTTP port: 54566

      To avoid port conflicts a mechanism must be found to detect a free port when the test case starts (configs must be updated which are already in target dir).

      http://svn.apache.org/viewvc/camel/trunk/components/camel-test/src/main/java/org/apache/camel/test/AvailablePortFinder.java?view=markup

      Attachments

        Activity

          People

            owulff Oliver Wulff
            owulff Oliver Wulff
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: