Skip to content

Commit 34915b0

Browse files
amahusseinahussein
authored andcommitted
HDFS-9776. testMultipleAppendsDuringCatchupTailing is flaky (#2410)
Co-authored-by: ahussein <[email protected]> (cherry picked from commit ae74407)
1 parent eb909fd commit 34915b0

File tree

1 file changed

+2
-1
lines changed
  • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha

1 file changed

+2
-1
lines changed

hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestHAAppend.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ public void testMultipleAppendsDuringCatchupTailing() throws Exception {
6060
// control the ingest of edits by the standby for this test.
6161
conf.set(DFSConfigKeys.DFS_HA_TAILEDITS_PERIOD_KEY, "5000");
6262
conf.setInt(DFSConfigKeys.DFS_HA_LOGROLL_PERIOD_KEY, -1);
63-
63+
conf.setBoolean(DFSConfigKeys.DFS_NAMENODE_REDUNDANCY_CONSIDERLOAD_KEY,
64+
false);
6465
MiniDFSCluster cluster = new MiniDFSCluster.Builder(conf)
6566
.nnTopology(MiniDFSNNTopology.simpleHATopology())
6667
.numDataNodes(3).build();

0 commit comments

Comments
 (0)