Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-873

Java tests fail due to Too many open files

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.4
    • 0.5
    • Java - Library
    • None

    Description

      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

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            tlipcon Todd Lipcon
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment