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/07/15 09:17:00 UTC

[jira] [Resolved] (CAMEL-11446) Look at using awaitility in camel-core tests when we wait via thread sleep etc

     [ https://issues.apache.org/jira/browse/CAMEL-11446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-11446.
---------------------------------
    Resolution: Fixed

> 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
>            Assignee: Claus Ibsen
>             Fix For: 2.20.0
>
>
> 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)