YARN-1555. Fixed test failures in applicationhistoryservice.* (Vinod Kumar Vavilapalli via mayank)
svn merge --ignore-ancestry -c 1556753 ../YARN-321 git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1562207 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a6dfb7b045
commit
b6eb90370a
|
@ -519,6 +519,9 @@ Branch YARN-321: Generic ApplicationHistoryService
|
|||
YARN-1413. Implemented serving of aggregated-logs in the ApplicationHistory
|
||||
server. (Mayank Bansal via vinodkv)
|
||||
|
||||
YARN-1555. Fixed test failures in applicationhistoryservice.* (Vinod Kumar
|
||||
Vavilapalli via mayank)
|
||||
|
||||
Release 2.2.0 - 2013-10-13
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -86,7 +86,7 @@ public class ApplicationHistoryStoreTestUtils {
|
|||
throws IOException {
|
||||
store.containerFinished(
|
||||
ContainerFinishData.newInstance(containerId, 0, containerId.toString(),
|
||||
"http://localhost:0/", 0, ContainerState.COMPLETE));
|
||||
"http://localhost:0/log", 0, ContainerState.COMPLETE));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -40,7 +40,7 @@ public class TestApplicationHistoryServer {
|
|||
Configuration config = new YarnConfiguration();
|
||||
historyServer.init(config);
|
||||
assertEquals(STATE.INITED, historyServer.getServiceState());
|
||||
assertEquals(3, historyServer.getServices().size());
|
||||
assertEquals(2, historyServer.getServices().size());
|
||||
ApplicationHistoryClientService historyService = historyServer
|
||||
.getClientService();
|
||||
assertNotNull(historyServer.getClientService());
|
||||
|
|
|
@ -287,7 +287,7 @@ public class TestAHSWebServices extends JerseyTest {
|
|||
container.getString("assignedNodeId"));
|
||||
assertEquals(Priority.newInstance(containerId.getId()).toString(),
|
||||
container.getString("priority"));
|
||||
assertEquals("http://localhost:0/", container.getString("logUrl"));
|
||||
assertEquals("http://localhost:0/log", container.getString("logUrl"));
|
||||
assertEquals(ContainerState.COMPLETE.toString(),
|
||||
container.getString("containerState"));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue