[
https://issues.apache.org/jira/browse/CAMEL-11747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16152705#comment-16152705
]
Claus Ibsen commented on CAMEL-11747:
-------------------------------------
There is also a bunch of other tests that use Jetty maybe they can use an
in-house custom component instead so the tests are more reliable and also
faster.
> Change SupervisingRouteControllerRestartTest to not use Jetty in test
> ---------------------------------------------------------------------
>
> Key: CAMEL-11747
> URL: https://issues.apache.org/jira/browse/CAMEL-11747
> Project: Camel
> Issue Type: Test
> Components: camel-spring-boot
> Reporter: Claus Ibsen
> Fix For: 2.20.0
>
>
> This test is slow and flaky as it fails with port number in use errors etc
> {code}
> [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
> {code}
> 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).
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)