YARN-3459. Fix failiure of TestLog4jWarningErrorMetricsAppender. (Varun Vasudev via wangda)
This commit is contained in:
parent
f4b3fc5621
commit
7af086a515
|
@ -156,6 +156,9 @@ Release 2.8.0 - UNRELEASED
|
|||
YARN-3457. NPE when NodeManager.serviceInit fails and stopRecoveryStore called.
|
||||
(Bibin A Chundatt via ozawa)
|
||||
|
||||
YARN-3459. Fix failiure of TestLog4jWarningErrorMetricsAppender.
|
||||
(Varun Vasudev via wangda)
|
||||
|
||||
Release 2.7.0 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -84,7 +84,7 @@ public class TestLog4jWarningErrorMetricsAppender {
|
|||
Assert.assertEquals(1, appender.getErrorCounts(cutoff).get(0).longValue());
|
||||
Assert.assertEquals(1, appender.getErrorMessagesAndCounts(cutoff).get(0)
|
||||
.size());
|
||||
Thread.sleep(2000);
|
||||
Thread.sleep(3000);
|
||||
Assert.assertEquals(1, appender.getErrorCounts(cutoff).size());
|
||||
Assert.assertEquals(0, appender.getErrorCounts(cutoff).get(0).longValue());
|
||||
Assert.assertEquals(0, appender.getErrorMessagesAndCounts(cutoff).get(0)
|
||||
|
|
Loading…
Reference in New Issue