Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-11617

spring-boot - service-call tests uses hardcoded port numbers

    Details

    • Type: Test
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.20.0
    • Component/s: tests
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      They tend to fail on CI servers with Port number in use errors

      Its in camel-spring-boot, camel-spring-cloud, and camel-spring-cloud-netflix etc.

      Failed

      org.apache.camel.spring.boot.cloud.CamelCloudServiceCallTest.testServiceCall

      Failing for the past 3 builds (Since Unstable#1564 )
      Took 6 ms.
      Error Message

      Failed to load ApplicationContext
      Stacktrace

      java.lang.IllegalStateException: Failed to load ApplicationContext
      Caused by: org.apache.camel.RuntimeCamelException: java.net.BindException: Address already in use
      Caused by: java.net.BindException: Address already in use

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lb Luca Burgazzoli
                Reporter:
                davsclaus Claus Ibsen
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: