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

This commit is contained in:
Xiaoyu Yao 2016-10-25 11:12:04 -07:00
parent 9b7ce948a5
commit 9a8a386458
2 changed files with 1221 additions and 896 deletions

View File

@ -65,6 +65,9 @@ import static org.mockito.Matchers.any;
import static org.mockito.Mockito.mock; import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when; import static org.mockito.Mockito.when;
/**
* set/clrSpaceQuote are tested in {@link org.apache.hadoop.hdfs.TestQuota}.
*/
public class TestDFSAdmin { public class TestDFSAdmin {
private static final Log LOG = LogFactory.getLog(TestDFSAdmin.class); private static final Log LOG = LogFactory.getLog(TestDFSAdmin.class);
private Configuration conf = null; private Configuration conf = null;