You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by Ruwan Linton <ru...@gmail.com> on 2008/08/04 13:07:40 UTC
Synapse transport test failure
Hi devs,
I am seeing a test failure in the transports module, I had to exclude the
following test cases to get the build working for me. Any clue on what
causes this issue? Is this local to me or are there any others who are
getting the same failure?
Tests in error;
org.apache.synapse.transport.nhttp.HttpCoreNIOListenerTest
org.apache.synapse.transport.testkit.listener.XMLAsyncMessageTestCase
org.apache.synapse.transport.testkit.listener.XMLRequestResponseMessageTestCase
Thanks,
Ruwan.
--
Ruwan Linton
http://wso2.org - "Oxygenating the Web Services Platform"
http://ruwansblog.blogspot.com/
Re: Synapse transport test failure
Posted by Ruwan Linton <ru...@gmail.com>.
Thanks for the information Andreas, I just committed the exclusion...
Thanks,
Ruwan
On Tue, Aug 5, 2008 at 1:55 PM, Andreas Veithen
<an...@skynet.be>wrote:
> Ruwan,
>
> The best is to exclude the whole org.apache.synapse.transport.testkit
> package and its subpackages, as they only contain support classes to build
> tests, but will never contain actual test cases.
>
> Regards,
>
> Andreas
>
> Quoting Ruwan Linton <ru...@gmail.com>:
>
> Hi Andreas,
>>
>> It is fixed now, thanks for fixing this. Still I have to exclude the
>> XMLAsyncMessageTestCase and XMLRequestResponseMessageTestCase, I suppose
>> these are not tests but part of the test kit you developed, but some how
>> my
>> version of maven (2.0.6) picks it as a test and tries to run it and says
>> that there is no public constructor.
>>
>> Shall we exclude these two classes from the surefire plugin configuration?
>>
>> Thanks,
>> Ruwan
>>
>>
>>>
>> On Tue, Aug 5, 2008 at 12:47 AM, Andreas Veithen
>> <an...@skynet.be>wrote:
>>
>> Ruwan,
>>>
>>> I fixed the issue with the HttpCoreNIOSender. Can you test again?
>>>
>>> Andreas
>>>
>>>
>>> Ruwan Linton wrote:
>>>
>>> Hi devs,
>>>>
>>>> I am seeing a test failure in the transports module, I had to exclude
>>>> the
>>>> following test cases to get the build working for me. Any clue on what
>>>> causes this issue? Is this local to me or are there any others who are
>>>> getting the same failure?
>>>>
>>>> Tests in error;
>>>>
>>>> org.apache.synapse.transport.nhttp.HttpCoreNIOListenerTest
>>>> org.apache.synapse.transport.testkit.listener.XMLAsyncMessageTestCase
>>>>
>>>>
>>>> org.apache.synapse.transport.testkit.listener.XMLRequestResponseMessageTestCase
>>>>
>>>> Thanks,
>>>> Ruwan.
>>>>
>>>> --
>>>> Ruwan Linton
>>>> http://wso2.org - "Oxygenating the Web Services Platform"
>>>> http://ruwansblog.blogspot.com/
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
>>> For additional commands, e-mail: dev-help@synapse.apache.org
>>>
>>>
>>>
>>
>> --
>> Ruwan Linton
>> http://wso2.org - "Oxygenating the Web Services Platform"
>> http://ruwansblog.blogspot.com/
>>
>>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
> For additional commands, e-mail: dev-help@synapse.apache.org
>
>
--
Ruwan Linton
http://wso2.org - "Oxygenating the Web Services Platform"
http://ruwansblog.blogspot.com/
Re: Synapse transport test failure
Posted by Andreas Veithen <an...@skynet.be>.
Ruwan,
The best is to exclude the whole org.apache.synapse.transport.testkit
package and its subpackages, as they only contain support classes to
build tests, but will never contain actual test cases.
Regards,
Andreas
Quoting Ruwan Linton <ru...@gmail.com>:
> Hi Andreas,
>
> It is fixed now, thanks for fixing this. Still I have to exclude the
> XMLAsyncMessageTestCase and XMLRequestResponseMessageTestCase, I suppose
> these are not tests but part of the test kit you developed, but some how my
> version of maven (2.0.6) picks it as a test and tries to run it and says
> that there is no public constructor.
>
> Shall we exclude these two classes from the surefire plugin configuration?
>
> Thanks,
> Ruwan
>
>>
>
> On Tue, Aug 5, 2008 at 12:47 AM, Andreas Veithen
> <an...@skynet.be>wrote:
>
>> Ruwan,
>>
>> I fixed the issue with the HttpCoreNIOSender. Can you test again?
>>
>> Andreas
>>
>>
>> Ruwan Linton wrote:
>>
>>> Hi devs,
>>>
>>> I am seeing a test failure in the transports module, I had to exclude the
>>> following test cases to get the build working for me. Any clue on what
>>> causes this issue? Is this local to me or are there any others who are
>>> getting the same failure?
>>>
>>> Tests in error;
>>>
>>> org.apache.synapse.transport.nhttp.HttpCoreNIOListenerTest
>>> org.apache.synapse.transport.testkit.listener.XMLAsyncMessageTestCase
>>>
>>> org.apache.synapse.transport.testkit.listener.XMLRequestResponseMessageTestCase
>>>
>>> Thanks,
>>> Ruwan.
>>>
>>> --
>>> Ruwan Linton
>>> http://wso2.org - "Oxygenating the Web Services Platform"
>>> http://ruwansblog.blogspot.com/
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
>> For additional commands, e-mail: dev-help@synapse.apache.org
>>
>>
>
>
> --
> Ruwan Linton
> http://wso2.org - "Oxygenating the Web Services Platform"
> http://ruwansblog.blogspot.com/
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org
Re: Synapse transport test failure
Posted by Ruwan Linton <ru...@gmail.com>.
Hi Andreas,
It is fixed now, thanks for fixing this. Still I have to exclude the
XMLAsyncMessageTestCase and XMLRequestResponseMessageTestCase, I suppose
these are not tests but part of the test kit you developed, but some how my
version of maven (2.0.6) picks it as a test and tries to run it and says
that there is no public constructor.
Shall we exclude these two classes from the surefire plugin configuration?
Thanks,
Ruwan
>
On Tue, Aug 5, 2008 at 12:47 AM, Andreas Veithen
<an...@skynet.be>wrote:
> Ruwan,
>
> I fixed the issue with the HttpCoreNIOSender. Can you test again?
>
> Andreas
>
>
> Ruwan Linton wrote:
>
>> Hi devs,
>>
>> I am seeing a test failure in the transports module, I had to exclude the
>> following test cases to get the build working for me. Any clue on what
>> causes this issue? Is this local to me or are there any others who are
>> getting the same failure?
>>
>> Tests in error;
>>
>> org.apache.synapse.transport.nhttp.HttpCoreNIOListenerTest
>> org.apache.synapse.transport.testkit.listener.XMLAsyncMessageTestCase
>>
>> org.apache.synapse.transport.testkit.listener.XMLRequestResponseMessageTestCase
>>
>> Thanks,
>> Ruwan.
>>
>> --
>> Ruwan Linton
>> http://wso2.org - "Oxygenating the Web Services Platform"
>> http://ruwansblog.blogspot.com/
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
> For additional commands, e-mail: dev-help@synapse.apache.org
>
>
--
Ruwan Linton
http://wso2.org - "Oxygenating the Web Services Platform"
http://ruwansblog.blogspot.com/
Re: Synapse transport test failure
Posted by Andreas Veithen <an...@skynet.be>.
Ruwan,
I fixed the issue with the HttpCoreNIOSender. Can you test again?
Andreas
Ruwan Linton wrote:
> Hi devs,
>
> I am seeing a test failure in the transports module, I had to exclude
> the following test cases to get the build working for me. Any clue on
> what causes this issue? Is this local to me or are there any others
> who are getting the same failure?
>
> Tests in error;
>
> org.apache.synapse.transport.nhttp.HttpCoreNIOListenerTest
> org.apache.synapse.transport.testkit.listener.XMLAsyncMessageTestCase
> org.apache.synapse.transport.testkit.listener.XMLRequestResponseMessageTestCase
>
> Thanks,
> Ruwan.
>
> --
> Ruwan Linton
> http://wso2.org - "Oxygenating the Web Services Platform"
> http://ruwansblog.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org
Re: Synapse transport test failure
Posted by Andreas Veithen <an...@skynet.be>.
Ruwan,
There are indeed some tests in HttpCoreNIOListenerTest that randomly
fail on some systems. I think this is caused by the fact that
HttpCoreNIOSender#init returns before the listener is actually ready
to process outgoing messages.
Andreas
Quoting Ruwan Linton <ru...@gmail.com>:
> Hi devs,
>
> I am seeing a test failure in the transports module, I had to exclude the
> following test cases to get the build working for me. Any clue on what
> causes this issue? Is this local to me or are there any others who are
> getting the same failure?
>
> Tests in error;
>
> org.apache.synapse.transport.nhttp.HttpCoreNIOListenerTest
> org.apache.synapse.transport.testkit.listener.XMLAsyncMessageTestCase
> org.apache.synapse.transport.testkit.listener.XMLRequestResponseMessageTestCase
>
> Thanks,
> Ruwan.
>
> --
> Ruwan Linton
> http://wso2.org - "Oxygenating the Web Services Platform"
> http://ruwansblog.blogspot.com/
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org