HDFS-9383. TestByteArrayManager#testByteArrayManager fails. Contributed by Tsz Wo Nicholas Sze.

(cherry picked from commit ef926b2e38)
This commit is contained in:
Kihwal Lee 2015-11-09 08:58:58 -06:00
parent 7e8467df9f
commit 6f678deb86
2 changed files with 4 additions and 1 deletions

View File

@ -18,6 +18,9 @@ Release 2.7.3 - UNRELEASED
HDFS-4937. ReplicationMonitor can infinite-loop in
BlockPlacementPolicyDefault#chooseRandom(). (kihwal)
HDFS-9383. TestByteArrayManager#testByteArrayManager fails.
(szetszwo via kihwal)
Release 2.7.2 - UNRELEASED
INCOMPATIBLE CHANGES

View File

@ -309,7 +309,7 @@ public class TestByteArrayManager {
public void testByteArrayManager() throws Exception {
final int countThreshold = 32;
final int countLimit = 64;
final long countResetTimePeriodMs = 1000L;
final long countResetTimePeriodMs = 10000L;
final ByteArrayManager.Impl bam = new ByteArrayManager.Impl(
new ByteArrayManager.Conf(
countThreshold, countLimit, countResetTimePeriodMs));