tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hit...@apache.org
Subject git commit: TEZ-1633. Addendum patch. Fixed expected values in TestTaskRecovery.testRecovery_OneTAStarted. (Alexander Pivovarov and Jeff Zhang via hitesh)
Date Fri, 17 Oct 2014 20:01:06 GMT
Repository: tez
Updated Branches:
  refs/heads/master 9577195f6 -> c942d0ca7


TEZ-1633. Addendum patch. Fixed expected values in TestTaskRecovery.testRecovery_OneTAStarted.
(Alexander Pivovarov and Jeff Zhang via hitesh)


Project: http://git-wip-us.apache.org/repos/asf/tez/repo
Commit: http://git-wip-us.apache.org/repos/asf/tez/commit/c942d0ca
Tree: http://git-wip-us.apache.org/repos/asf/tez/tree/c942d0ca
Diff: http://git-wip-us.apache.org/repos/asf/tez/diff/c942d0ca

Branch: refs/heads/master
Commit: c942d0ca730731d07818040b635e98ef7d9ef5da
Parents: 9577195
Author: Hitesh Shah <hitesh@apache.org>
Authored: Fri Oct 17 13:00:35 2014 -0700
Committer: Hitesh Shah <hitesh@apache.org>
Committed: Fri Oct 17 13:00:35 2014 -0700

----------------------------------------------------------------------
 .../java/org/apache/tez/dag/app/dag/impl/TestTaskRecovery.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tez/blob/c942d0ca/tez-dag/src/test/java/org/apache/tez/dag/app/dag/impl/TestTaskRecovery.java
----------------------------------------------------------------------
diff --git a/tez-dag/src/test/java/org/apache/tez/dag/app/dag/impl/TestTaskRecovery.java b/tez-dag/src/test/java/org/apache/tez/dag/app/dag/impl/TestTaskRecovery.java
index 6aa77a9..afc3433 100644
--- a/tez-dag/src/test/java/org/apache/tez/dag/app/dag/impl/TestTaskRecovery.java
+++ b/tez-dag/src/test/java/org/apache/tez/dag/app/dag/impl/TestTaskRecovery.java
@@ -278,7 +278,7 @@ public class TestTaskRecovery {
     assertEquals(TaskStateInternal.RUNNING, task.getInternalState());
     // taskAttempt_1 is recovered to KILLED, and new task attempt is scheduled
     assertEquals(2, task.getAttempts().size());
-    assertEquals(1, task.finishedAttempts);
+    assertEquals(1, task.getFinishedAttemptsCount());
     assertEquals(0, task.failedAttempts);
     assertEquals(null, task.successfulAttempt);
   }


Mime
View raw message