Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.12.0
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
- links to