This is an automated email from the ASF dual-hosted git repository. ayushsaxena pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/trunk by this push: new 8dd9c874e14 HDFS-17086. Fix the parameter settings in TestDiskspaceQuotaUpdate#updateCountForQuota (#5842). Contributed by Haiyang Hu. 8dd9c874e14 is described below commit 8dd9c874e1478b653f9610a923b5bcaf9a422b4a Author: huhaiyang <huhaiyang...@126.com> AuthorDate: Sat Jul 15 14:30:07 2023 +0800 HDFS-17086. Fix the parameter settings in TestDiskspaceQuotaUpdate#updateCountForQuota (#5842). Contributed by Haiyang Hu. Reviewed-by: Shilun Fan <slfan1...@apache.org> Signed-off-by: Ayush Saxena <ayushsax...@apache.org> --- .../apache/hadoop/hdfs/server/namenode/TestDiskspaceQuotaUpdate.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestDiskspaceQuotaUpdate.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestDiskspaceQuotaUpdate.java index 771caefd20a..0cf696f504b 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestDiskspaceQuotaUpdate.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestDiskspaceQuotaUpdate.java @@ -394,7 +394,7 @@ public class TestDiskspaceQuotaUpdate { FSNamesystem fsn = cluster.getNamesystem(); fsn.writeLock(); try { - getFSDirectory().updateCountForQuota(1); + getFSDirectory().updateCountForQuota(i); } finally { fsn.writeUnlock(); } --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org