Martin Krüger created KARAF-6048:
------------------------------------

             Summary: Camel Test case prone to endless loop
                 Key: KARAF-6048
                 URL: https://issues.apache.org/jira/browse/KARAF-6048
             Project: Karaf
          Issue Type: Bug
          Components: karaf
            Reporter: Martin Krüger


During my build the test case CamelExampleTest.testBlueprintDSL() ended up in 
an endless loop.

The problem is {code}
        while (true) {
            if (!output.contains("Started")) {
                Thread.sleep(500);
                output = executeCommand("camel:route-list");
            } else {
                break;
            }
        }{code} in the verify method. This loop has to contain an exit path 
with a failure.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to