HDFS-9383. TestByteArrayManager#testByteArrayManager fails. Contributed by Tsz Wo Nicholas Sze.
(cherry picked from commit ef926b2e38
)
This commit is contained in:
parent
7e8467df9f
commit
6f678deb86
|
@ -18,6 +18,9 @@ Release 2.7.3 - UNRELEASED
|
||||||
HDFS-4937. ReplicationMonitor can infinite-loop in
|
HDFS-4937. ReplicationMonitor can infinite-loop in
|
||||||
BlockPlacementPolicyDefault#chooseRandom(). (kihwal)
|
BlockPlacementPolicyDefault#chooseRandom(). (kihwal)
|
||||||
|
|
||||||
|
HDFS-9383. TestByteArrayManager#testByteArrayManager fails.
|
||||||
|
(szetszwo via kihwal)
|
||||||
|
|
||||||
Release 2.7.2 - UNRELEASED
|
Release 2.7.2 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -309,7 +309,7 @@ public class TestByteArrayManager {
|
||||||
public void testByteArrayManager() throws Exception {
|
public void testByteArrayManager() throws Exception {
|
||||||
final int countThreshold = 32;
|
final int countThreshold = 32;
|
||||||
final int countLimit = 64;
|
final int countLimit = 64;
|
||||||
final long countResetTimePeriodMs = 1000L;
|
final long countResetTimePeriodMs = 10000L;
|
||||||
final ByteArrayManager.Impl bam = new ByteArrayManager.Impl(
|
final ByteArrayManager.Impl bam = new ByteArrayManager.Impl(
|
||||||
new ByteArrayManager.Conf(
|
new ByteArrayManager.Conf(
|
||||||
countThreshold, countLimit, countResetTimePeriodMs));
|
countThreshold, countLimit, countResetTimePeriodMs));
|
||||||
|
|
Loading…
Reference in New Issue