HADOOP-12602. TestMetricsSystemImpl#testQSize occasionally fails. Contributed by Masatake Iwasaki.
(cherry picked from commiteee0cf4611
) (cherry picked from commit5047ee56af
)
This commit is contained in:
parent
c9be259f26
commit
02f666b324
|
@ -33,6 +33,9 @@ Release 2.7.3 - UNRELEASED
|
||||||
HADOOP-12565. Replace DSA with RSA for SSH key type in SingleCluster.md.
|
HADOOP-12565. Replace DSA with RSA for SSH key type in SingleCluster.md.
|
||||||
(Mingliang Liu via aajisaka)
|
(Mingliang Liu via aajisaka)
|
||||||
|
|
||||||
|
HADOOP-12602. TestMetricsSystemImpl#testQSize occasionally fails.
|
||||||
|
(Masatake Iwasaki via aajisaka)
|
||||||
|
|
||||||
Release 2.7.2 - UNRELEASED
|
Release 2.7.2 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -441,6 +441,7 @@ public class TestMetricsSystemImpl {
|
||||||
@Test
|
@Test
|
||||||
public void testQSize() throws Exception {
|
public void testQSize() throws Exception {
|
||||||
new ConfigBuilder().add("*.period", 8)
|
new ConfigBuilder().add("*.period", 8)
|
||||||
|
.add("*.queue.capacity", 2)
|
||||||
.add("test.sink.test.class", TestSink.class.getName())
|
.add("test.sink.test.class", TestSink.class.getName())
|
||||||
.save(TestMetricsConfig.getTestFilename("hadoop-metrics2-test"));
|
.save(TestMetricsConfig.getTestFilename("hadoop-metrics2-test"));
|
||||||
MetricsSystemImpl ms = new MetricsSystemImpl("Test");
|
MetricsSystemImpl ms = new MetricsSystemImpl("Test");
|
||||||
|
|
Loading…
Reference in New Issue