Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-2191

Add ResourceLeakDetector to Netty tests

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.2.0
    • Netty, test
    • None

    Description

      Similar to LeakDetector#assertNoLeaks in MiniRaftCluster, we can also add the Netty leak detector in tests as specified in https://netty.io/wiki/reference-counted-objects.html#wiki-h2-9 to ensure that all ByteBuf are released.

      Attachments

        Issue Links

          Activity

            People

              ivanandika Ivan Andika
              ivanandika Ivan Andika
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m