Serge Huber created UNOMI-248:
---------------------------------

             Summary: 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: core
    Affects Versions: 1.4.0, 1.3.0-incubating, 1.5.0
            Reporter: Serge Huber
             Fix For: 1.5.0


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.3.4#803005)

Reply via email to