Since starting a new neo4j installation will pre-allocate 500MB for transaction logs, running the whole docker test suite can take up a LOT of memory with just empty space. This is causing frequent test failures.
This change should improve test clean up so that after each test class completes, it will compress any mounted folders into a tar.gz then delete the original mounted folder. This frees the pre-allocated memory and saves memory.
Since starting a new neo4j installation will pre-allocate 500MB for transaction logs, running the whole docker test suite can take up a LOT of memory with just empty space. This is causing frequent test failures. This change should improve test clean up so that after each test class completes, it will compress any mounted folders into a tar.gz then delete the original mounted folder. This frees the pre-allocated memory and saves memory.