camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CAMEL-11446) Look at using awaitility in camel-core tests when we wait via thread sleep etc
Date Sat, 15 Jul 2017 09:17:00 GMT

     [ 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)

Mime
View raw message