public void testFailedAndSucceedWithGarbage() throws Exception {
DefaultContainerMonitor monitor = new DefaultContainerMonitor();
ApplicationAttemptId applicationAttemptId = getMockApplicationAttemptId(1, 1);
ContainerId containerId1 = getMockContainerId(applicationAttemptId, 1);
Container container1 = getMockContainer(containerId1, null, null, null);
ContainerId containerId2 = getMockContainerId(applicationAttemptId, 2);
Container container2 = getMockContainer(containerId2, null, null, null);
ContainerId containerId3 = getMockContainerId(applicationAttemptId, 3);
//Container container3 = getMockContainer(containerId3, null, null, null, ContainerState.NEW);
// container 1
// failed free running
// allocated running completed failed