This is an automated email from the ASF dual-hosted git repository.
slfan1989 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 baba94ed482 HDFS-17846. Enhance the stability of the unit test
TestDirectoryScanner. (#8022) Contributed by Zhaobo Huang
baba94ed482 is described below
commit baba94ed482c9711e021bdf1dfcf159fec588123
Author: Zhaobo Huang <[email protected]>
AuthorDate: Mon Oct 13 10:25:02 2025 +0800
HDFS-17846. Enhance the stability of the unit test TestDirectoryScanner.
(#8022) Contributed by Zhaobo Huang
* HDFS-17846. Enhance the stability of the unit test TestDirectoryScanner.
Signed-off-by: Shilun Fan <[email protected]>
---
.../org/apache/hadoop/hdfs/server/datanode/TestDirectoryScanner.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/datanode/TestDirectoryScanner.java
b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDirectoryScanner.java
index 55a2862870b..1f2f5912d3b 100644
---
a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDirectoryScanner.java
+++
b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDirectoryScanner.java
@@ -831,7 +831,7 @@ public void testThrottling() throws Exception {
// We need lots of blocks so the report compiler threads have enough to
// keep them busy while we watch them.
- int blocks = 20000;
+ int blocks = 40000;
int maxRetries = 3;
cluster = new MiniDFSCluster.Builder(conf).build();
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]