YARN-3459. Fix failiure of TestLog4jWarningErrorMetricsAppender. (Varun Vasudev via wangda)
(cherry picked from commit 7af086a515
)
This commit is contained in:
parent
ac32fa187c
commit
97244b143c
|
@ -108,6 +108,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