HDFS-11011. Add unit tests for HDFS command 'dfsadmin -set/clrSpaceQuota'. Contributed by Xiaobing Zhou.

(cherry picked from commit 85f6fec0370b3cd94d6c2f19920c0b6d33f127c6)
(cherry picked from commit c2ba4b650168be4fad7ffdb546b8a0d985268393)
This commit is contained in:
Xiaoyu Yao 2016-10-25 11:12:04 -07:00
parent 262518fa5b
commit e0fc749a46
2 changed files with 1228 additions and 844 deletions

View File

@ -56,6 +56,9 @@ import static org.mockito.Matchers.any;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
/**
* set/clrSpaceQuote are tested in {@link org.apache.hadoop.hdfs.TestQuota}.
*/
public class TestDFSAdmin {
private Configuration conf = null;
private MiniDFSCluster cluster;