Hmm

I just ran it from trunk
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.camel.component.jms.JmsTestConnectionOnStartupTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.807 sec

Results :

Tests run: 2, Failures: 0, Errors: 0, Skipped: 0


I wonder if it could be a OS thing. Fell free to provide a patch to
fix the assertion. I guess it could be more lenient.


On Mon, Jun 6, 2011 at 2:43 PM, James Talbut <jtalbut@tardis.spudsoft> wrote:
> Hi,
>
> This looks like a simple change in the error message returned, but I don't 
> know the history to be sure:
>
> Environment:
> Apache Maven 3.0.2 (r1056850; 2011-01-09 00:58:10+0000)
> Java version: 1.6.0_25, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_25\jre
> Default locale: en_GB, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>
> Source Version:
> URL: https://svn.apache.org/repos/asf/camel/trunk
> Repository Root: https://svn.apache.org/repos/asf
> Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
> Revision: 1132610
>
> Failure:
> -------------------------------------------------------------------------------
> Test set: org.apache.camel.component.jms.JmsTestConnectionOnStartupTest
> -------------------------------------------------------------------------------
> Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 3.06 sec <<< 
> FAILURE!
> testConnectionOnStartupProducerTest(org.apache.camel.component.jms.JmsTestConnectionOnStartupTest)
>   Time elapsed: 1.084 sec  <<< FAILURE!
> org.junit.ComparisonFailure: expected:<...: Connection refused[]> but 
> was:<...: Connection refused[: connect]>
>        at org.junit.Assert.assertEquals(Assert.java:123)
>        at org.junit.Assert.assertEquals(Assert.java:145)
>        at 
> org.apache.camel.component.jms.JmsTestConnectionOnStartupTest.testConnectionOnStartupProducerTest(JmsTestConnectionOnStartupTest.java:69)
>
>
>
>
> Do you want me to investigate further?
>
> Thanks.
>
> Jim
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to