tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zjf...@apache.org
Subject git commit: TEZ-1689. addendum - fix unit test failure. (zjffdu)
Date Wed, 29 Oct 2014 11:59:37 GMT
Repository: tez
Updated Branches:
  refs/heads/branch-0.5 87b786fac -> 7d469cb5d


TEZ-1689. addendum - fix unit test failure. (zjffdu)

(cherry picked from commit 1ffbc1935646f7c422b551e6e0ffdc001311d074)


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

Branch: refs/heads/branch-0.5
Commit: 7d469cb5dce7b8040bf8c28d77060ba58b1b9e16
Parents: 87b786f
Author: Jeff Zhang <zjffdu@apache.org>
Authored: Wed Oct 29 18:58:49 2014 +0800
Committer: Jeff Zhang <zjffdu@apache.org>
Committed: Wed Oct 29 19:01:44 2014 +0800

----------------------------------------------------------------------
 CHANGES.txt                                                        | 1 +
 .../src/test/java/org/apache/tez/dag/app/dag/impl/TestDAGImpl.java | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tez/blob/7d469cb5/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 668a24b..6de608f 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -67,6 +67,7 @@ ALL CHANGES:
   TEZ-1689. Exception handling for EdgeManagerPlugin.
   TEZ-1701. ATS fixes to flush all history events and also using batching.
   TEZ-792. Default staging path should have user name.
+  TEZ-1689. addendum - fix unit test failure.
 
 Release 0.5.1: 2014-10-02
 

http://git-wip-us.apache.org/repos/asf/tez/blob/7d469cb5/tez-dag/src/test/java/org/apache/tez/dag/app/dag/impl/TestDAGImpl.java
----------------------------------------------------------------------
diff --git a/tez-dag/src/test/java/org/apache/tez/dag/app/dag/impl/TestDAGImpl.java b/tez-dag/src/test/java/org/apache/tez/dag/app/dag/impl/TestDAGImpl.java
index a597d49..dc90a6f 100644
--- a/tez-dag/src/test/java/org/apache/tez/dag/app/dag/impl/TestDAGImpl.java
+++ b/tez-dag/src/test/java/org/apache/tez/dag/app/dag/impl/TestDAGImpl.java
@@ -918,7 +918,7 @@ public class TestDAGImpl {
     dispatcher.getEventHandler().handle(new DAGEventStartDag(dagWithCustomEdge.getID(),
         null));
     dispatcher.await();
-    Assert.assertEquals(DAGState.FAILED, dagWithCustomEdge.getState());
+    Assert.assertEquals(DAGState.RUNNING, dagWithCustomEdge.getState());
 
     VertexImpl v1 = (VertexImpl)dagWithCustomEdge.getVertex("vertex1");
     Task t1= v1.getTask(0);


Mime
View raw message