Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
ghx-label-14
Description
There are many custom cluster test that require creating temporary director. The temporary directory typically live within a scope of test method and cleaned afterwards. However, some test do create temporary directly and forgot to clean them afterwards, leaving junk dirs under /tmp/ or $LOG_DIR.
We can unify the temporary directory management inside CustomClusterTestSuite. Some argument of CustomClusterTestSuite.with_args(), such as 'impalad_args', 'catalogd_args', and 'impala_log_dir', should accept formatting pattern that is replaceable by a temporary dir path.