You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Chris Westin (JIRA)" <ji...@apache.org> on 2015/04/01 17:41:52 UTC

[jira] [Updated] (DRILL-2515) Add allocator state verification at the end of test suites

     [ https://issues.apache.org/jira/browse/DRILL-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Westin updated DRILL-2515:
--------------------------------
    Fix Version/s: 1.0.0

> 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
>             Fix For: 1.0.0
>
>
> 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)