[ https://issues.apache.org/jira/browse/UNOMI-248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Francois Gerthoffert closed UNOMI-248. -------------------------------------- Resolution: Won't Fix We're using waitUntil instead > Fix integration tests to use Camel state instead of Thread.sleeps > ----------------------------------------------------------------- > > Key: UNOMI-248 > URL: https://issues.apache.org/jira/browse/UNOMI-248 > Project: Apache Unomi > Issue Type: Bug > Components: unomi(-core) > Affects Versions: unomi-1.3.0-incubating, unomi-1.4.0, unomi-1.5.0 > Reporter: Serge Huber > Priority: Minor > > Currently in some of the integration tests, we use Thread.sleep statements to > wait until Camel has processed the data for some of the routes. > This is completely dependent on the performance of the environment the tests > are run on. It would be much better to interface with Camel's processing > system to properly detect when the processing is completed. > Here's an example of such a test: > https://github.com/apache/unomi/blob/master/itests/src/test/java/org/apache/unomi/itests/ProfileImportBasicIT.java -- This message was sent by Atlassian Jira (v8.20.10#820010)