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:00:05 GMT
Repository: tez
Updated Branches:
  refs/heads/master 9c166076e -> 1ffbc1935


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


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

Branch: refs/heads/master
Commit: 1ffbc1935646f7c422b551e6e0ffdc001311d074
Parents: 9c16607
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 18:58:49 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/1ffbc193/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 6bf95ae..0d2ccb9 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -74,6 +74,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/1ffbc193/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