[
https://issues.apache.org/jira/browse/HTTPCORE-83?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12507475
]
Anders Wallgren commented on HTTPCORE-83:
-----------------------------------------
Out of five test runs, four produced errors, so we're not there yet.
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.http.nio.TestAll
Exception in thread "worker-thread-55" java.lang.IllegalStateException: Buffer
already closed for writing
at
org.apache.http.nio.util.SharedOutputBuffer.write(SharedOutputBuffer.java:112)
at
org.apache.http.nio.entity.ContentOutputStream.write(ContentOutputStream.java:67)
at
org.apache.http.entity.ByteArrayEntity.writeTo(ByteArrayEntity.java:76)
at
org.apache.http.nio.protocol.ThrottlingHttpServiceHandler.handleRequest(ThrottlingHttpServiceHandler.java:504)
at
org.apache.http.nio.protocol.ThrottlingHttpServiceHandler.access$000(ThrottlingHttpServiceHandler.java:91)
at
org.apache.http.nio.protocol.ThrottlingHttpServiceHandler$1.run(ThrottlingHttpServiceHandler.java:198)
at
org.apache.http.nio.mockup.SimpleThreadPoolExecutor$WorkerThread.run(SimpleThreadPoolExecutor.java:204)
Exception in thread "worker-thread-57" junit.framework.AssertionFailedError:
Interrupted while waiting for more data
at junit.framework.Assert.fail(Assert.java:47)
at
org.apache.http.nio.protocol.TestNIOHttp$4.handleResponse(TestNIOHttp.java:509)
at
org.apache.http.nio.protocol.ThrottlingHttpClientHandler$2.run(ThrottlingHttpClientHandler.java:484)
at
org.apache.http.nio.mockup.SimpleThreadPoolExecutor$WorkerThread.run(SimpleThreadPoolExecutor.java:204)
Exception in thread "worker-thread-69" java.lang.IllegalStateException: Buffer
already closed for writing
at
org.apache.http.nio.util.SharedOutputBuffer.write(SharedOutputBuffer.java:112)
at
org.apache.http.nio.entity.ContentOutputStream.write(ContentOutputStream.java:67)
at
org.apache.http.entity.ByteArrayEntity.writeTo(ByteArrayEntity.java:76)
at
org.apache.http.nio.protocol.ThrottlingHttpServiceHandler.handleRequest(ThrottlingHttpServiceHandler.java:504)
at
org.apache.http.nio.protocol.ThrottlingHttpServiceHandler.access$000(ThrottlingHttpServiceHandler.java:91)
at
org.apache.http.nio.protocol.ThrottlingHttpServiceHandler$1.run(ThrottlingHttpServiceHandler.java:198)
at
org.apache.http.nio.mockup.SimpleThreadPoolExecutor$WorkerThread.run(SimpleThreadPoolExecutor.java:204)
Tests run: 100, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 16.458 sec
<<< FAILURE!
Results :
Failed tests:
testSimpleHttpPostsWithContentLength(org.apache.http.nio.protocol.TestNIOHttp)
testSimpleHttpPostsHTTP10(org.apache.http.nio.protocol.TestNIOHttp)
Tests run: 100, Failures: 2, Errors: 0, Skipped: 0
> Test failures in SVN head
> -------------------------
>
> Key: HTTPCORE-83
> URL: https://issues.apache.org/jira/browse/HTTPCORE-83
> Project: HttpComponents Core
> Issue Type: Bug
> Components: HttpCore NIO
> Affects Versions: 4.0-alpha5
> Environment: Dual core windows vista
> Reporter: Anders Wallgren
> Priority: Blocker
> Fix For: 4.0-alpha5
>
> Attachments: test.zip, throttling-service-bug.patch
>
>
> In the current svn head (revision 547953), I'm getting these test failures:
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running org.apache.http.nio.TestAll
> Exception in thread "worker-thread-28" java.lang.IllegalStateException:
> Buffer already closed for writing
> at
> org.apache.http.nio.util.SharedOutputBuffer.write(SharedOutputBuffer.java:112)
> at
> org.apache.http.nio.entity.ContentOutputStream.write(ContentOutputStream.java:67)
> at
> org.apache.http.entity.ByteArrayEntity.writeTo(ByteArrayEntity.java:76)
> at
> org.apache.http.nio.protocol.ThrottlingHttpServiceHandler.handleRequest(ThrottlingHttpServiceHandler.java:578)
> at
> org.apache.http.nio.protocol.ThrottlingHttpServiceHandler.access$000(ThrottlingHttpServiceHandler.java:94)
> at
> org.apache.http.nio.protocol.ThrottlingHttpServiceHandler$1.run(ThrottlingHttpServiceHandler.java:274)
> at
> org.apache.http.nio.mockup.SimpleThreadPoolExecutor$WorkerThread.run(SimpleThreadPoolExecutor.java:204)
> Exception in thread "worker-thread-34" java.lang.IllegalStateException:
> Buffer already closed for writing
> at
> org.apache.http.nio.util.SharedOutputBuffer.write(SharedOutputBuffer.java:112)
> at
> org.apache.http.nio.entity.ContentOutputStream.write(ContentOutputStream.java:67)
> at
> org.apache.http.entity.ByteArrayEntity.writeTo(ByteArrayEntity.java:76)
> at
> org.apache.http.nio.protocol.ThrottlingHttpServiceHandler.handleRequest(ThrottlingHttpServiceHandler.java:578)
> at
> org.apache.http.nio.protocol.ThrottlingHttpServiceHandler.access$000(ThrottlingHttpServiceHandler.java:94)
> at
> org.apache.http.nio.protocol.ThrottlingHttpServiceHandler$1.run(ThrottlingHttpServiceHandler.java:274)
> at
> org.apache.http.nio.mockup.SimpleThreadPoolExecutor$WorkerThread.run(SimpleThreadPoolExecutor.java:204)
> Exception in thread "worker-thread-39" java.lang.IllegalStateException:
> Buffer already closed for writing
> at
> org.apache.http.nio.util.SharedOutputBuffer.write(SharedOutputBuffer.java:112)
> at
> org.apache.http.nio.entity.ContentOutputStream.write(ContentOutputStream.java:67)
> at
> org.apache.http.entity.ByteArrayEntity.writeTo(ByteArrayEntity.java:76)
> at
> org.apache.http.nio.protocol.ThrottlingHttpServiceHandler.handleRequest(ThrottlingHttpServiceHandler.java:578)
> at
> org.apache.http.nio.protocol.ThrottlingHttpServiceHandler.access$000(ThrottlingHttpServiceHandler.java:94)
> at
> org.apache.http.nio.protocol.ThrottlingHttpServiceHandler$1.run(ThrottlingHttpServiceHandler.java:274)
> at
> org.apache.http.nio.mockup.SimpleThreadPoolExecutor$WorkerThread.run(SimpleThreadPoolExecutor.java:204)
> Tests run: 100, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 11.224 sec
> <<< FAILURE!
> Results :
> Failed tests:
> testSimpleHttpGets(org.apache.http.nio.protocol.TestNIOHttp)
>
> testSimpleHttpPostsWithContentLength(org.apache.http.nio.protocol.TestNIOHttp)
> testSimpleHttpPostsHTTP10(org.apache.http.nio.protocol.TestNIOHttp)
> testSimpleHttpHeads(org.apache.http.nio.protocol.TestNIOHttp)
> Tests run: 100, Failures: 4, Errors: 0, Skipped: 0
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]