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.
|
YARN-3369. Missing NullPointer check in AppSchedulingInfo causes RM to die.
|
||||||
(Brahma Reddy Battula via wangda)
|
(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
|
Release 2.6.0 - 2014-11-18
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -804,7 +804,9 @@ public class TestLogAggregationService extends BaseContainerManagerTest {
|
||||||
Map<String, String> thisContainerMap = logMap.remove(containerStr);
|
Map<String, String> thisContainerMap = logMap.remove(containerStr);
|
||||||
Assert.assertEquals(numOfContainerLogs, thisContainerMap.size());
|
Assert.assertEquals(numOfContainerLogs, thisContainerMap.size());
|
||||||
for (String fileType : logFiles) {
|
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));
|
LOG.info("Expected log-content : " + new String(expectedValue));
|
||||||
String foundValue = thisContainerMap.remove(fileType);
|
String foundValue = thisContainerMap.remove(fileType);
|
||||||
Assert.assertNotNull(cId + " " + fileType
|
Assert.assertNotNull(cId + " " + fileType
|
||||||
|
|
Loading…
Reference in New Issue