Is this method being used in other test classes? This method looks specific to retention test and i am wondering if we can move it to the test class.

Also do you think we can change the tests to use the base hdfs dir defined in the base test class?