[
https://issues.apache.org/jira/browse/THRIFT-873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12903456#action_12903456
]
Todd Lipcon commented on THRIFT-873:
------------------------------------
On my box it goes a bit slower, but still pretty fast. With forkmode="once" I
did indeed see failures that went away with the separate JVMs. It also made it
harder to figure out which test was actually at fault, since the problem with
AsyncClientManager caused a bunch of later tests to fail too.
> Java tests fail due to Too many open files
> ------------------------------------------
>
> Key: THRIFT-873
> URL: https://issues.apache.org/jira/browse/THRIFT-873
> Project: Thrift
> Issue Type: Test
> Components: Java - Library
> Affects Versions: 0.4
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Fix For: 0.5
>
> Attachments: thrift-873.txt
>
>
> All of the tests run in the same JVM, and it seems like
> TestAsyncClientManager is leaking sockets.
> As a quick fix, dropping that to use only 200 clients instead of 500, and
> changing each unit test to run in its own JVM instead of sharing them.
> Also allowing the port used for binding the test servers to be configured
> from the command line
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.