apupier opened a new pull request, #26082:
URL: https://github.com/apache/camel/pull/26082

   Reverts apache/camel#25948
   
   intent was good but it broke several tests 
https://ci-builds.apache.org/job/Camel/job/Camel%20Jbang%20IT%20Tests/job/main/lastCompletedBuild/testReport/
   
   
   for instance:
   ```
   org.opentest4j.AssertionFailedError: 
   command camel plugin delete validate was expected to fail but succeeded with 
output Plugin validate removed
    and error 
        at org.junit.jupiter.api.Assertions.fail(Assertions.java:142)
        at 
org.apache.camel.test.infra.cli.services.CliLocalContainerService.executeGenericCommand(CliLocalContainerService.java:170)
        at 
org.apache.camel.test.infra.cli.services.CliLocalContainerService.execute(CliLocalContainerService.java:132)
        at 
org.apache.camel.test.infra.cli.services.CliServiceFactory$SingletonCliService.execute(CliServiceFactory.java:38)
        at 
org.apache.camel.dsl.jbang.it.support.JBangTestSupport.execute(JBangTestSupport.java:148)
        at 
org.apache.camel.dsl.jbang.it.ValidatePluginITCase.removeValidatePlugin(ValidatePluginITCase.java:29)
   ```
   
   ```
   org.opentest4j.AssertionFailedError: 
   command camel plugin delete validate was expected to fail but succeeded with 
output Plugin validate removed
    and error 
        at org.junit.jupiter.api.Assertions.fail(Assertions.java:142)
        at 
org.apache.camel.test.infra.cli.services.CliLocalContainerService.executeGenericCommand(CliLocalContainerService.java:170)
        at 
org.apache.camel.test.infra.cli.services.CliLocalContainerService.execute(CliLocalContainerService.java:132)
        at 
org.apache.camel.test.infra.cli.services.CliServiceFactory$SingletonCliService.execute(CliServiceFactory.java:38)
        at 
org.apache.camel.dsl.jbang.it.support.JBangTestSupport.execute(JBangTestSupport.java:148)
        at 
org.apache.camel.dsl.jbang.it.ValidatePluginITCase.removeValidatePlugin(ValidatePluginITCase.java:29)
   ```
   
   ```
   org.awaitility.core.ConditionTimeoutException: 
   Assertion condition defined as a Lambda expression in 
org.apache.camel.dsl.jbang.it.JolokiaITCase command curl 
http://localhost:8888/hawtio/ failed with output  and error   % Total    % 
Received % Xferd  Average Speed   Time    Time     Time  Current
                                    Dload  Upload   Total   Spent    Left  Speed
   
     0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
     0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
   curl: (7) Failed to connect to localhost port 8888 after 28 ms: Could not 
connect to server
    within 30 seconds.
        at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
        at 
org.awaitility.core.AssertionCondition.await(AssertionCondition.java:119)
        at 
org.awaitility.core.AssertionCondition.await(AssertionCondition.java:31)
        at 
org.awaitility.core.ConditionFactory.until(ConditionFactory.java:1160)
        at 
org.awaitility.core.ConditionFactory.untilAsserted(ConditionFactory.java:790)
        at 
org.apache.camel.dsl.jbang.it.JolokiaITCase.testRunHawtio(JolokiaITCase.java:66)
        Suppressed: org.opentest4j.AssertionFailedError: command camel stop 
FromDirectoryRoute was expected to fail but succeeded with output Shutting down 
Camel integration (PID: 1535)
    and error 
                at org.junit.jupiter.api.Assertions.fail(Assertions.java:142)
                at 
org.apache.camel.test.infra.cli.services.CliLocalContainerService.executeGenericCommand(CliLocalContainerService.java:170)
                at 
org.apache.camel.test.infra.cli.services.CliLocalContainerService.execute(CliLocalContainerService.java:132)
                at 
org.apache.camel.test.infra.cli.services.CliServiceFactory$SingletonCliService.execute(CliServiceFactory.java:38)
                at 
org.apache.camel.dsl.jbang.it.support.JBangTestSupport.execute(JBangTestSupport.java:148)
                at 
org.apache.camel.dsl.jbang.it.JolokiaITCase.stopJolokiaAndHawtio(JolokiaITCase.java:40)
   Caused by: java.util.concurrent.TimeoutException
        at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:206)
        at 
org.awaitility.core.Uninterruptibles.getUninterruptibly(Uninterruptibles.java:101)
        at 
org.awaitility.core.Uninterruptibles.getUninterruptibly(Uninterruptibles.java:81)
        at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:103)
        ... 5 more
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to