tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ss...@apache.org
Subject git commit: TEZ-756 Addendum. Fix a unit test failure. (sseth)
Date Sat, 15 Feb 2014 04:03:41 GMT
Repository: incubator-tez
Updated Branches:
  refs/heads/master e1d91cff5 -> 2480c4e2b


TEZ-756 Addendum. Fix a unit test failure. (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/2480c4e2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tez/tree/2480c4e2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tez/diff/2480c4e2

Branch: refs/heads/master
Commit: 2480c4e2b0527b2cadeaafc79ebd322435297672
Parents: e1d91cf
Author: Siddharth Seth <sseth@apache.org>
Authored: Fri Feb 14 20:03:11 2014 -0800
Committer: Siddharth Seth <sseth@apache.org>
Committed: Fri Feb 14 20:03:11 2014 -0800

----------------------------------------------------------------------
 .../tez/dag/library/vertexmanager/TestShuffleVertexManager.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tez/blob/2480c4e2/tez-runtime-library/src/test/java/org/apache/tez/dag/library/vertexmanager/TestShuffleVertexManager.java
----------------------------------------------------------------------
diff --git a/tez-runtime-library/src/test/java/org/apache/tez/dag/library/vertexmanager/TestShuffleVertexManager.java
b/tez-runtime-library/src/test/java/org/apache/tez/dag/library/vertexmanager/TestShuffleVertexManager.java
index 4c018e1..1a26487 100644
--- a/tez-runtime-library/src/test/java/org/apache/tez/dag/library/vertexmanager/TestShuffleVertexManager.java
+++ b/tez-runtime-library/src/test/java/org/apache/tez/dag/library/vertexmanager/TestShuffleVertexManager.java
@@ -114,7 +114,7 @@ public class TestShuffleVertexManager {
       public Object answer(InvocationOnMock invocation) {
           when(mockContext.getVertexNumTasks(mockManagedVertexId)).thenReturn(2);
           newEdgeManagers.clear();
-          newEdgeManagers.putAll((Map<String, EdgeManager>)invocation.getArguments()[1]);
+          newEdgeManagers.putAll((Map<String, EdgeManager>)invocation.getArguments()[2]);
           return null;
       }}).when(mockContext).setVertexParallelism(eq(2), any(VertexLocationHint.class), anyMap());
     


Mime
View raw message