Repository: bigtop Updated Branches: refs/heads/master d16afea0b -> f993cdb6d
BIGTOP-3042: 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 #366 Change-Id: I5e18a15e9b45a1057174717a37008b3c92bab0e9 Signed-off-by: Jun He <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/f993cdb6 Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/f993cdb6 Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/f993cdb6 Branch: refs/heads/master Commit: f993cdb6db1135e3b1a1c7f001a95c256ac0155f Parents: d16afea Author: Jun He <[email protected]> Authored: Thu Jun 7 09:17:01 2018 +0800 Committer: Jun He <[email protected]> Committed: Tue Jun 12 01:13:08 2018 +0000 ---------------------------------------------------------------------- .../org/apache/bigtop/itest/hadoop/hdfs/TestHDFSQuota.groovy | 2 -- 1 file changed, 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bigtop/blob/f993cdb6/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/hdfs/TestHDFSQuota.groovy ---------------------------------------------------------------------- diff --git a/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/hdfs/TestHDFSQuota.groovy b/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/hdfs/TestHDFSQuota.groovy index a80f27b..3364328 100644 --- a/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/hdfs/TestHDFSQuota.groovy +++ b/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/hdfs/TestHDFSQuota.groovy @@ -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");
