MAPREDUCE-6839. TestRecovery.testCrashed failed (pairg via rkanter)
This commit is contained in:
parent
e0c239cdbd
commit
38d75dfd3a
@ -159,9 +159,7 @@ public void testCrashed() throws Exception {
|
|||||||
app.waitForState(task1Attempt1, TaskAttemptState.RUNNING);
|
app.waitForState(task1Attempt1, TaskAttemptState.RUNNING);
|
||||||
app.waitForState(task2Attempt, TaskAttemptState.RUNNING);
|
app.waitForState(task2Attempt, TaskAttemptState.RUNNING);
|
||||||
|
|
||||||
// reduces must be in NEW state
|
app.waitForState(reduceTask, TaskState.RUNNING);
|
||||||
Assert.assertEquals("Reduce Task state not correct",
|
|
||||||
TaskState.RUNNING, reduceTask.getReport().getTaskState());
|
|
||||||
|
|
||||||
/////////// Play some games with the TaskAttempts of the first task //////
|
/////////// Play some games with the TaskAttempts of the first task //////
|
||||||
//send the fail signal to the 1st map task attempt
|
//send the fail signal to the 1st map task attempt
|
||||||
@ -1301,9 +1299,7 @@ public void testSpeculative() throws Exception {
|
|||||||
app.waitForState(task1Attempt2, TaskAttemptState.RUNNING);
|
app.waitForState(task1Attempt2, TaskAttemptState.RUNNING);
|
||||||
app.waitForState(task2Attempt, TaskAttemptState.RUNNING);
|
app.waitForState(task2Attempt, TaskAttemptState.RUNNING);
|
||||||
|
|
||||||
// reduces must be in NEW state
|
app.waitForState(reduceTask, TaskState.RUNNING);
|
||||||
Assert.assertEquals("Reduce Task state not correct",
|
|
||||||
TaskState.RUNNING, reduceTask.getReport().getTaskState());
|
|
||||||
|
|
||||||
//send the done signal to the map 1 attempt 1
|
//send the done signal to the map 1 attempt 1
|
||||||
app.getContext().getEventHandler().handle(
|
app.getContext().getEventHandler().handle(
|
||||||
@ -1431,9 +1427,7 @@ public void testRecoveryWithoutShuffleSecret() throws Exception {
|
|||||||
app.waitForState(task1Attempt, TaskAttemptState.RUNNING);
|
app.waitForState(task1Attempt, TaskAttemptState.RUNNING);
|
||||||
app.waitForState(task2Attempt, TaskAttemptState.RUNNING);
|
app.waitForState(task2Attempt, TaskAttemptState.RUNNING);
|
||||||
|
|
||||||
// reduces must be in NEW state
|
app.waitForState(reduceTask, TaskState.RUNNING);
|
||||||
Assert.assertEquals("Reduce Task state not correct",
|
|
||||||
TaskState.RUNNING, reduceTask.getReport().getTaskState());
|
|
||||||
|
|
||||||
//send the done signal to the 1st map attempt
|
//send the done signal to the 1st map attempt
|
||||||
app.getContext().getEventHandler().handle(
|
app.getContext().getEventHandler().handle(
|
||||||
|
Loading…
Reference in New Issue
Block a user