Chris Westin created DRILL-2515: ----------------------------------- Summary: Add allocator state verification at the end of test suites Key: DRILL-2515 URL: https://issues.apache.org/jira/browse/DRILL-2515 Project: Apache Drill Issue Type: Bug Components: Tools, Build & Test Affects Versions: 0.8.0 Reporter: Chris Westin Assignee: Chris Westin
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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)