tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zjf...@apache.org
Subject tez git commit: TEZ-1761. TestRecoveryParser::testGetLastInProgressDAG fails in similar manner to TEZ-1686. (zjffdu)
Date Sun, 09 Nov 2014 03:55:47 GMT
Repository: tez
Updated Branches:
  refs/heads/branch-0.5 be83286d6 -> 1e5f9504d


TEZ-1761. TestRecoveryParser::testGetLastInProgressDAG fails in similar manner to TEZ-1686.
(zjffdu)

(cherry picked from commit a7d55e43165cfc570fec6697d80e5ea73d04cf42)


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

Branch: refs/heads/branch-0.5
Commit: 1e5f9504da7a81e74219e35d111530d93b84bb02
Parents: be83286
Author: Jeff Zhang <zjffdu@apache.org>
Authored: Sun Nov 9 11:54:08 2014 +0800
Committer: Jeff Zhang <zjffdu@apache.org>
Committed: Sun Nov 9 11:55:26 2014 +0800

----------------------------------------------------------------------
 CHANGES.txt                                                      | 1 +
 .../src/test/java/org/apache/tez/dag/app/TestRecoveryParser.java | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tez/blob/1e5f9504/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 348541d..4bcaf25 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -11,6 +11,7 @@ ALL CHANGES:
   TEZ-1746. Flaky test in TestVertexImpl and TestExceptionPropagation.
   TEZ-1749. Increase test timeout for TestLocalMode.testMultipleClientsWithSession
   TEZ-1750. Add a DAGScheduler which schedules tasks only when sources have been scheduled.
+  TEZ-1761. TestRecoveryParser::testGetLastInProgressDAG fails in similar manner to TEZ-1686.
 
 Release 0.5.2: 2014-11-07
 

http://git-wip-us.apache.org/repos/asf/tez/blob/1e5f9504/tez-dag/src/test/java/org/apache/tez/dag/app/TestRecoveryParser.java
----------------------------------------------------------------------
diff --git a/tez-dag/src/test/java/org/apache/tez/dag/app/TestRecoveryParser.java b/tez-dag/src/test/java/org/apache/tez/dag/app/TestRecoveryParser.java
index 0425d25..6bbfa0f 100644
--- a/tez-dag/src/test/java/org/apache/tez/dag/app/TestRecoveryParser.java
+++ b/tez-dag/src/test/java/org/apache/tez/dag/app/TestRecoveryParser.java
@@ -76,8 +76,8 @@ public class TestRecoveryParser {
   public void testGetLastInProgressDAG() {
     Map<TezDAGID, DAGSummaryData> summaryDataMap =
         new HashMap<TezDAGID, DAGSummaryData>();
-    int dagNum = 100;
-    int lastInProgressDAGId = new Random().nextInt(dagNum);
+    int dagNum = 20;
+    int lastInProgressDAGId = new Random().nextInt(dagNum) + 1;
     for (int i = 1; i <= dagNum; ++i) {
       ApplicationId appId = ApplicationId.newInstance(1, 1);
       TezDAGID dagId = TezDAGID.getInstance(appId, i);


Mime
View raw message