You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2017/09/04 15:10:00 UTC
[jira] [Commented] (CAMEL-11747) Change
SupervisingRouteControllerRestartTest to not use Jetty in test
[ https://issues.apache.org/jira/browse/CAMEL-11747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16152703#comment-16152703 ]
Claus Ibsen commented on CAMEL-11747:
-------------------------------------
Ah okay it wants to fail with a bind error. Its maybe better to build a custom component with a consumer where you can make it fail on purpose.
> 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)