Claus Ibsen created CAMEL-11446:
-----------------------------------

             Summary: Look at using awaitility in camel-core tests when we wait 
via thread sleep etc
                 Key: CAMEL-11446
                 URL: https://issues.apache.org/jira/browse/CAMEL-11446
             Project: Camel
          Issue Type: Improvement
          Components: camel-core, tests
            Reporter: Claus Ibsen
             Fix For: Future


We can speedup some of the tests in camel-core by using
https://github.com/awaitility/awaitility

To wait for the condition before continuing. 

We can also use NotifyBuilder which we do in some tests like, when there is 
only 1 message to wait for
oneExchangeDone.matchesMockWaitTime();



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to