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

Add allocator state verification at the end of test suites

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.8.0
    • Future
    • Tools, Build & Test
    • 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

          Activity

            People

              Unassigned Unassigned
              cwestin Chris Westin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: