Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.8.0
-
None
Description
In order to speed up testing, we've set up maven so that it reuses the JVM between test classes in "mvn install". However, this means that if there are missing closures of allocators or other resources, we don't find out until much later, after the offending test, instead of in the test, as we would when running a JUnit test from an IDE.
The suggestion here is to add @AfterClass methods to base test classes that do some kind of verification. We'll need to add something to the top level allocator that does the same verification it does now in close(), but allows us to spot check it between tests.
Attachments
Issue Links
- depends upon
-
DRILL-1942 Improve off-heap memory usage tracking
- In Progress
- is related to
-
DRILL-2510 Unclosed allocators detected in Java shutdown hook
- Resolved