Aha the reason for the failing camel-bam tests was another story which I
easily could fix through reverting an upgrade we did today. The root cause
was the hibernate upgrade inside the parent POM:

4.2.7.Final ==> 4.3.2.Final

4.3.2.Final is a JPA 2.1 spec. implemetation which is not
backward-compatible, e.g. javax.persistence.Table.indexes is new in JPA 2.1:

http://docs.jboss.org/hibernate/jpa/2.1/api/javax/persistence/Table.html#indexes()

So why the stack trace:

Caused by: java.lang.NoSuchMethodError:
javax.persistence.Table.indexes()[Ljavax/persistence/Index;
        at
org.hibernate.cfg.annotations.EntityBinder.processComplementaryTableDefinitions(EntityBinder.java:936)

The other failing tests is still an open issue.

Babak


Babak Vahdat wrote
> Hi
> 
> There're couple of regression by different components through this change,
> as an example:
> 
>   
> org.apache.camel.routepolicy.quartz2.SpringQuartzTwoAppsClusteredFailoverTest
> 
> If I would flip the default value of the newly introduced flag
> SpringCamelContext.shutdownEager to false then the test would pass again.
> 
> The're other failing tests as well like some from camel-bam.
> 
> Babak
> Claus Ibsen-2 wrote
>> Hi
>> 
>> Yeah did a rebuild and the test passed this time. Not sure what happened
>> before.
>> 
>> Though trying again, running all tests in the tests (not just the cxf
>> ones).
>> 
>> 
>> On Fri, Feb 28, 2014 at 4:12 PM, Aki Yoshida <

>> elakito@

>> > wrote:
>>> Hi Claus,
>>> I didn't observe any issues from the tests.
>>>
>>> I just sync'ed to the latest commit from today
>>> commit 308c9d4e67fa20aed5930283c12ba984e27d2b97
>>> Date:   Fri Feb 28 20:41:36 2014 +0800
>>>
>>> and ran clean install and run tests/camel-blueprint-cxf-test tests on
>>> OSX 1.7.0_51-b13.
>>>
>>> What issues/errors are you seeing?
>>> regards, aki
>>>
>>> 2014-02-28 15:21 GMT+01:00 Aki Yoshida <

>> elakito@

>> >:
>>>> Hi Claus,
>>>> I can take a look at it. Just a moment.
>>>> regards, aki
>>>>
>>>>
>>>> 2014-02-28 15:12 GMT+01:00 Claus Ibsen <

>> claus.ibsen@

>> >:
>>>>> I ran all the tests in tests and many tests failed in that
>>>>> cxf-blueprint.
>>>>>
>>>>> Wonder if you have the same issue on your computer?
>>>>>
>>>>> I am working on CAMEL-7156 and wanted to ensure I didn't introduce any
>>>>> regressions, and thus ran all these tests.
>>>>>
>>>>> And also some of the OSGi tests failed, but that has been known to
>>>>> happen from time to time.
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Claus Ibsen
>>>>> -----------------
>>>>> Red Hat, Inc.
>>>>> Email: 

>> cibsen@

>>>>> Twitter: davsclaus
>>>>> Blog: http://davsclaus.com
>>>>> Author of Camel in Action: http://www.manning.com/ibsen
>>>>> Make your Camel applications look hawt, try: http://hawt.io
>> 
>> 
>> 
>> -- 
>> Claus Ibsen
>> -----------------
>> Red Hat, Inc.
>> Email: 

>> cibsen@

>> Twitter: davsclaus
>> Blog: http://davsclaus.com
>> Author of Camel in Action: http://www.manning.com/ibsen
>> Make your Camel applications look hawt, try: http://hawt.io





--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-master-fails-tests-in-tests-camel-blueprint-cxf-test-tp5748101p5748165.html
Sent from the Camel Development mailing list archive at Nabble.com.

Reply via email to