tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ss...@apache.org
Subject git commit: TEZ-843. Fix failing unit test post TEZ-756. (sseth)
Date Mon, 17 Feb 2014 07:14:37 GMT
Repository: incubator-tez
Updated Branches:
  refs/heads/master b3b981a2f -> 41bbbb3b0


TEZ-843. Fix failing unit test post TEZ-756. (sseth)


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

Branch: refs/heads/master
Commit: 41bbbb3b0421067a2fa1f8d24a988fbd4b285a89
Parents: b3b981a
Author: Siddharth Seth <sseth@apache.org>
Authored: Sun Feb 16 23:14:12 2014 -0800
Committer: Siddharth Seth <sseth@apache.org>
Committed: Sun Feb 16 23:14:12 2014 -0800

----------------------------------------------------------------------
 .../test/java/org/apache/tez/dag/app/dag/impl/TestVertexImpl.java   | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tez/blob/41bbbb3b/tez-dag/src/test/java/org/apache/tez/dag/app/dag/impl/TestVertexImpl.java
----------------------------------------------------------------------
diff --git a/tez-dag/src/test/java/org/apache/tez/dag/app/dag/impl/TestVertexImpl.java b/tez-dag/src/test/java/org/apache/tez/dag/app/dag/impl/TestVertexImpl.java
index dc78e02..d99c57f 100644
--- a/tez-dag/src/test/java/org/apache/tez/dag/app/dag/impl/TestVertexImpl.java
+++ b/tez-dag/src/test/java/org/apache/tez/dag/app/dag/impl/TestVertexImpl.java
@@ -1203,6 +1203,7 @@ public class TestVertexImpl {
     doReturn(taskScheduler).when(appContext).getTaskScheduler();
     doReturn(Resource.newInstance(102400, 60)).when(taskScheduler).getTotalResources();
     doReturn(historyEventHandler).when(appContext).getHistoryHandler();
+    doReturn(dispatcher.getEventHandler()).when(appContext).getEventHandler();
 
     vertexGroups = Maps.newHashMap();
     for (PlanVertexGroupInfo groupInfo : dagPlan.getVertexGroupsList()) {


Mime
View raw message