It works for me too. Best, Christian
On Mon, Sep 10, 2012 at 4:16 PM, Babak Vahdat <babak.vah...@swissonline.ch>wrote: > > O.K. It's fixed now on trunk. > > @Claus & @Christian could you please give it another try to see how it > would work on your boxes. > Also running all the tests should now not take longer than 3 seconds > compared to around 30 seconds before (mvn clean install). > I've put the corresponding comments into the ticket. > > Babak > > Am 10.09.12 11:28 schrieb "Babak Vahdat" unter > <babak.vah...@swissonline.ch>: > > > > > > >Am 10.09.12 10:52 schrieb "Babak Vahdat" unter > ><babak.vah...@swissonline.ch>: > > > >> > >> > >>Am 10.09.12 08:45 schrieb "Claus Ibsen" unter <claus.ib...@gmail.com>: > >> > >>>Hi > >>> > >>>Yep I get that failure as well running tests locally > >> > >>Hi > >> > >>Yes it fails but just randomly if you would run the tests more than just > >>once. So to me there's a race condition some where causing the tests to > >>fail from time to time. For example on my box they all pass pretty often: > > > >I'll take over the ticket to see if I can find something (have got no > >experience with elasticsearch). We could also upgrade to the newest > >version 0.19.9 (we would need a SMX bundle for it first). > > > >Also validating of it's karaf feature is failing as well: > > > >[INFO] > >------------------------------------------------------------------------ > >[INFO] Reactor Summary: > >[INFO] > >[INFO] Camel :: Platforms :: Apache Karaf ................ SUCCESS > >[1.061s] > >[INFO] Camel :: Platforms :: Apache Karaf :: Commands .... SUCCESS > >[3.953s] > >[INFO] Camel :: Platforms :: Apache Karaf :: Features .... FAILURE > >[9:04.792s] > >[INFO] > >------------------------------------------------------------------------ > >[INFO] BUILD FAILURE > >[INFO] > >------------------------------------------------------------------------ > >[INFO] Total time: 9:10.376s > >[INFO] Finished at: Mon Sep 10 11:22:46 CEST 2012 > >[INFO] Final Memory: 22M/1011M > >[INFO] > >------------------------------------------------------------------------ > >[ERROR] Failed to execute goal > >org.apache.karaf.tooling:features-maven-plugin:2.2.9:validate (validate) > >on project apache-camel: Unable to validate > >/Users/bvahdat/dev/workspace/camel/platforms/karaf/features/target/classes > >/ > >features.xml: Could not find artifact > >org.apache.servicemix.bundles:org.apache.servicemix.bundles.elasticsearch: > >j > >ar:0.19.8_1-SNAPSHOT in apache.snapshots > >(http://repository.apache.org/snapshots/) > > > >Babak > > > > > >> > >>------------------------------------------------------- > >> T E S T S > >>------------------------------------------------------- > >>Running > >>org.apache.camel.component.elasticsearch.ElasticsearchComponentTest > >>Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.994 > >>sec > >>Running > >>org.apache.camel.component.elasticsearch.ElasticsearchConfigurationTest > >>Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec > >>Running org.apache.camel.component.elasticsearch.SpringElasticsearchTest > >>Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.716 sec > >> > >>Results : > >> > >>Tests run: 13, Failures: 0, Errors: 0, Skipped: 0 > >> > >>Or if you would run that test alone then it would always pass (at least > >>by > >>me :-)): > >> > >> > >>~/dev/workspace/camel/components/camel-elasticsearch>mvn test > >>-Dtest=SpringElasticsearchTest > >>[INFO] Scanning for projects... > >>[INFO] > >> > >>[INFO] > >>------------------------------------------------------------------------ > >>[INFO] Building Camel :: ElasticSearch 2.11-SNAPSHOT > >>[INFO] > >>------------------------------------------------------------------------ > >>[INFO] > >>[INFO] --- maven-bundle-plugin:2.3.7:cleanVersions (versions) @ > >>camel-elasticsearch --- > >>[INFO] > >>[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ > >>camel-elasticsearch --- > >>[INFO] > >>[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ > >>camel-elasticsearch --- > >>[INFO] Using 'UTF-8' encoding to copy filtered resources. > >>[INFO] Copying 2 resources > >>[INFO] Copying 3 resources > >>[INFO] > >>[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ > >>camel-elasticsearch --- > >>[INFO] Nothing to compile - all classes are up to date > >>[INFO] > >>[INFO] --- maven-resources-plugin:2.4.3:testResources > >>(default-testResources) @ camel-elasticsearch --- > >>[INFO] Using 'UTF-8' encoding to copy filtered resources. > >>[INFO] Copying 1 resource > >>[INFO] Copying 3 resources > >>[INFO] > >>[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) > >>@ > >>camel-elasticsearch --- > >>[INFO] Nothing to compile - all classes are up to date > >>[INFO] > >>[INFO] --- maven-surefire-plugin:2.8:test (default-test) @ > >>camel-elasticsearch --- > >>[INFO] Surefire report directory: > >>/Users/bvahdat/dev/workspace/camel/components/camel-elasticsearch/target/ > >>s > >>u > >>refire-reports > >> > >>------------------------------------------------------- > >> T E S T S > >>------------------------------------------------------- > >>Running org.apache.camel.component.elasticsearch.SpringElasticsearchTest > >>Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.5 sec > >> > >>Results : > >> > >>Tests run: 2, Failures: 0, Errors: 0, Skipped: 0 > >> > >>[INFO] > >>------------------------------------------------------------------------ > >>[INFO] BUILD SUCCESS > >>[INFO] > >>------------------------------------------------------------------------ > >>[INFO] Total time: 4.712s > >>[INFO] Finished at: Mon Sep 10 10:40:13 CEST 2012 > >>[INFO] Final Memory: 12M/1011M > >>[INFO] > >>------------------------------------------------------------------------ > >> > >> > >>Babak > >> > >>> > >>>Running org.apache.camel.component.elasticsearch.SpringElasticsearchTest > >>>Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 61.454 > >>>sec <<< FAILURE! > >>> > >>>Results : > >>> > >>>Tests in error: > >>> > >>>testSendBodyAndHeaders(org.apache.camel.component.elasticsearch.SpringEl > >>>a > >>>s > >>>ticsearchTest): > >>>Exception occurred during execution on the exchange: Exchange[Message: > >>>{content=test}] > >>> > >>>Tests run: 13, Failures: 0, Errors: 1, Skipped: 0 > >>> > >>> > >>>On Sun, Sep 9, 2012 at 10:41 PM, Christian Müller > >>><christian.muel...@gmail.com> wrote: > >>>> It would be nice if somebody could take a stab on CAMEL-5586 [1]. > >>>> > >>>> [1] https://issues.apache.org/jira/browse/CAMEL-5586 > >>>> > >>>> Best, > >>>> Christian > >>>> > >>>> -- > >>> > >>> > >>> > >>>-- > >>>Claus Ibsen > >>>----------------- > >>>FuseSource > >>>Email: cib...@fusesource.com > >>>Web: http://fusesource.com > >>>Twitter: davsclaus, fusenews > >>>Blog: http://davsclaus.com > >>>Author of Camel in Action: http://www.manning.com/ibsen > >> > >> > > > > > > > --