camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiram Chirino (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-166) org.apache.camel.processor.UnitOfWorkWithAsyncFlowTest failure
Date Wed, 10 Oct 2007 17:40:24 GMT

    [ https://issues.apache.org/activemq/browse/CAMEL-166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40334
] 

Hiram Chirino commented on CAMEL-166:
-------------------------------------

Ok I figured out why this was failing.  Seem that when:
 (1) a route completes async (like in our UnitOfWorkWithAsyncFlowTest)
 (2) you invoked the route via the sync form of the Processor process() API.

The test was assuming that all the registered Synchronizations on the UnitOfWork would complete
before the process() call finished.  Unfortunately, that's not the case.  The Synchronizations
are completed async and perhaps after the process call finishes.

I patched up the test cases to account for this and now they should be working.

> org.apache.camel.processor.UnitOfWorkWithAsyncFlowTest failure
> --------------------------------------------------------------
>
>                 Key: CAMEL-166
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-166
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 1.1.0
>         Environment: SUSE Linux 10.1
>            Reporter: Bozhong Lin
>            Priority: Blocker
>             Fix For: 1.2.0
>
>
> Running org.apache.camel.processor.UnitOfWorkWithAsyncFlowTest
> Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 20.345 sec <<<
FAILURE!
> This prevents developer from building camel under Linux platform. Thanks!

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message