Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-5732

ProtocolTest doesn't clean up its test resources

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.9.1.0
    • Fix Version/s: 10.9.1.0
    • Component/s: Test
    • Labels:
      None

      Description

      ProtocolTest doesn't clean up its test resources. A tearDown method should be added to make the referenced instances eligable for garbage collection. The test class instances currenlty retain more than 10 MB on the heap.

        Activity

        Hide
        knutanders Knut Anders Hatlen added a comment -

        [bulk update] Close all resolved issues that haven't been updated for more than one year.

        Show
        knutanders Knut Anders Hatlen added a comment - [bulk update] Close all resolved issues that haven't been updated for more than one year.
        Hide
        kristwaa Kristian Waagan added a comment -

        Thanks, Knut.
        Committed to trunk with revision 1332165.

        Show
        kristwaa Kristian Waagan added a comment - Thanks, Knut. Committed to trunk with revision 1332165.
        Hide
        knutanders Knut Anders Hatlen added a comment -

        +1

        Show
        knutanders Knut Anders Hatlen added a comment - +1
        Hide
        kristwaa Kristian Waagan added a comment -

        Attaching patch 1a, which adds a tearDown-method to derbynet.ProtocolTest.

        I intend to commit this tomorrow.

        Show
        kristwaa Kristian Waagan added a comment - Attaching patch 1a, which adds a tearDown-method to derbynet.ProtocolTest. I intend to commit this tomorrow.

          People

          • Assignee:
            kristwaa Kristian Waagan
            Reporter:
            kristwaa Kristian Waagan
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development