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

Change SupervisingRouteControllerRestartTest to not use Jetty in test

    Details

    • Type: Test
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.20.0
    • Component/s: camel-spring-boot
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      This test is slow and flaky as it fails with port number in use errors etc

      [ERROR] Errors:
      [ERROR] org.apache.camel.spring.boot.SupervisingRouteControllerRestartTest.test(org.apache.camel.spring.boot.SupervisingRouteControllerRestartTest)
      [ERROR]   Run 1: SupervisingRouteControllerRestartTest.test:98
      [ERROR]   Run 2: SupervisingRouteControllerRestartTest.test:98
      [ERROR]   Run 3: SupervisingRouteControllerRestartTest.test:87 ยป Bind Address already in use (B...
      [INFO]
      [INFO]
      [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
      

      We should be able to change the test to not use jetty but just a seda or something so its not using a real http server (overkill).

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              davsclaus Claus Ibsen
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: