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

Java tests fail due to Too many open files

    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

        1. thrift-873.txt
          4 kB
          Todd Lipcon

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: