YARN-3384. TestLogAggregationService.verifyContainerLogs fails after YARN-2777. Contributed by Naganarasimha G R.
This commit is contained in:
parent
0b9f12c847
commit
82eda771e0
@ -816,6 +816,9 @@ Release 2.7.0 - UNRELEASED
|
||||
YARN-3369. Missing NullPointer check in AppSchedulingInfo causes RM to die.
|
||||
(Brahma Reddy Battula via wangda)
|
||||
|
||||
YARN-3384. TestLogAggregationService.verifyContainerLogs fails after
|
||||
YARN-2777. (Naganarasimha G R via ozawa)
|
||||
|
||||
Release 2.6.0 - 2014-11-18
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
@ -804,7 +804,9 @@ private LogFileStatusInLastCycle verifyContainerLogs(LogAggregationService logAg
|
||||
Map<String, String> thisContainerMap = logMap.remove(containerStr);
|
||||
Assert.assertEquals(numOfContainerLogs, thisContainerMap.size());
|
||||
for (String fileType : logFiles) {
|
||||
String expectedValue = containerStr + " Hello " + fileType + "!";
|
||||
String expectedValue =
|
||||
containerStr + " Hello " + fileType + "!End of LogType:"
|
||||
+ fileType;
|
||||
LOG.info("Expected log-content : " + new String(expectedValue));
|
||||
String foundValue = thisContainerMap.remove(fileType);
|
||||
Assert.assertNotNull(cId + " " + fileType
|
||||
|
Loading…
Reference in New Issue
Block a user