Derby
  1. Derby
  2. DERBY-5732

ProtocolTest doesn't clean up its test resources

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor 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
        Knut Anders Hatlen added a comment -

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

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

        Thanks, Knut.
        Committed to trunk with revision 1332165.

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

        +1

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

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

        I intend to commit this tomorrow.

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

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development