HDFS TestHDFSQuota doesn't match Hadoop's definition
The smoke test case of HDFS, TestHDFSQuota:testInputValues, asserts fail
on setSpaceQuota to 0, while this doesn't match Hadoop's definition for SpaceQuota.
This produces false failure, and should be removed from testcases.
This closes
@@ -136,8 +136,6 @@ public class TestHDFSQuota {
assertTrue("setSpaceQuota should not have worked", shHDFS.getRet() != 0);
shHDFS.exec("hadoop dfsadmin -setQuota 0 $testQuotaFolder1");
assertTrue("setQuota should not have worked", shHDFS.getRet() != 0);
- shHDFS.exec("hadoop dfsadmin -setSpaceQuota 0 $testQuotaFolder1");
- assertTrue("setSpaceQuota should not have worked", shHDFS.getRet() != 0);
shHDFS.exec("hadoop dfsadmin -setQuota $LARGE $testQuotaFolder1");
assertTrue("setQuota failed", shHDFS.getRet() == 0);
shHDFS.exec("hadoop dfsadmin -setSpaceQuota $LARGE $testQuotaFolder1");
