HDFS-9428. Fix intermittent failure of TestDNFencing.testQueueingWithAppend. Contributed by Masatake Iwasaki.
This commit is contained in:
parent
817ae221ac
commit
5aba093361
@ -2353,6 +2353,9 @@ Release 2.8.0 - UNRELEASED
|
|||||||
|
|
||||||
HDFS-9024. Deprecate the TotalFiles metric. (Akira Ajisaka via wheat9)
|
HDFS-9024. Deprecate the TotalFiles metric. (Akira Ajisaka via wheat9)
|
||||||
|
|
||||||
|
HDFS-9428. Fix intermittent failure of
|
||||||
|
TestDNFencing.testQueueingWithAppend. (Masatake Iwasaki via waltersu4549)
|
||||||
|
|
||||||
Release 2.7.3 - UNRELEASED
|
Release 2.7.3 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
@ -456,6 +456,7 @@ public class TestDNFencing {
|
|||||||
numQueued += numDN * 2; // RBW messages, see comments in case 1
|
numQueued += numDN * 2; // RBW messages, see comments in case 1
|
||||||
} finally {
|
} finally {
|
||||||
IOUtils.closeStream(out);
|
IOUtils.closeStream(out);
|
||||||
|
cluster.triggerHeartbeats();
|
||||||
numQueued += numDN; // blockReceived
|
numQueued += numDN; // blockReceived
|
||||||
}
|
}
|
||||||
assertEquals(numQueued, cluster.getNameNode(1).getNamesystem().
|
assertEquals(numQueued, cluster.getNameNode(1).getNamesystem().
|
||||||
|
Loading…
x
Reference in New Issue
Block a user