I finally found a system where I can reproduce the test failures and I
fixed some random failures in the VFS transport tests. I also got the
same failure as you in the NHTTP tests and I had a closer look at it.
I think it is actually not a problem in the test cases, but a bug in
the NHTTP transport.
The problem looks very similar to SYNAPSE-370 (see also [1]): the
NHTTP sender writes the status line and response headers but not the
content. After 60 seconds it then times out and closes the connection.
This then causes the "Premature EOF" error on the client side. It
could also have the same root cause as a second issue which has been
described in [2].
Note that both issues have been reported on an AIX environment, while
the test case failure can be observed on a Linux system. Since we
don't have AIX test systems, this might be a good occasion to fix
these issues.
Asankha, you were involved in the discussions around the two issues
mentioned above. What do you think about this?
Andreas
[1] http://www.nabble.com/-Synapse-1.1.1----Proxy-timeout-to17820897.html
[2]
http://www.nabble.com/Running-Synapse-1.2-on-Aix---Unexpected-EOF-in-prolog-to18753245.html
On 18 sept. 08, at 20:06, Ruwan Linton wrote:
I tried to build synapse from the scratch and got an test failure in
the HttpCoreNIOListenerTest. I am attaching the logs.
Thanks,
Ruwan
On Thu, Sep 18, 2008 at 1:50 AM, Andreas Veithen <[EMAIL PROTECTED]
> wrote:
Afkham,
Can you post the logs of the failing test?
Andreas
On 17 sept. 08, at 10:52, Afkham Azeez wrote:
Failed tests:
0001
:test
=
AsyncXML
,data
=
ASCII
,messageType
=
SOAP11
,client
=
axis
,endpoint
=
axis
(org
.apache
.synapse.transport.testkit.tests.async.XMLAsyncMessageTestCase)
I've been seeing test failures from time to time now in the Synapse
trunk.
--
Thanks
Afkham Azeez
Blog: http://afkham.org
Developer Portal: http://www.wso2.org
WSAS Blog: http://wso2wsas.blogspot.com
Company: http://wso2.com
GPG Fingerprint: 643F C2AF EB78 F886 40C9 B2A2 4AE2 C887 665E 0760
--
Ruwan Linton
http://wso2.org - "Oxygenating the Web Services Platform"
http://ruwansblog.blogspot.com/
<
org
.apache
.synapse
.transport
.nhttp
.HttpCoreNIOListenerTest
.txt
>---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]