Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-6148

TestSortSpillWithException is sometimes failing.

    Details

      Description

      TestSortSpillWithException#testSpillLeakManaged is sometimes failing. However for some reason this is being observed only in one of my branch. 

      TestSpillLeakManaged tests for leak when an exception is thrown during the spilling of the rows in ExternalSort. In the test failure case it happens that ExternalSort is able to sort the data with the given memory and not spill at all. Hence the injection interruption path is not hit at all and hence no exception is thrown.

      The test case should use drill.exec.sort.external.mem_limit to force it to use as less memory as possible so as to test the case.

       

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hanu.ncr Hanumath Rao Maduri
                Reporter:
                hanu.ncr Hanumath Rao Maduri
                Reviewer:
                Boaz Ben-Zvi
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: