tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bi...@apache.org
Subject [38/50] [abbrv] git commit: TEZ-1613. Decrease running time for TestAMRecovery (Jeff Zhang via bikas)
Date Mon, 29 Sep 2014 00:35:44 GMT
TEZ-1613. Decrease running time for TestAMRecovery (Jeff Zhang via bikas)


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

Branch: refs/heads/branch-0.5
Commit: 485f675bd3bcb59ee2d31554c2a2b6160cdbcdb7
Parents: 06fa79a
Author: Bikas Saha <bikas@apache.org>
Authored: Tue Sep 23 22:12:02 2014 -0700
Committer: Bikas Saha <bikas@apache.org>
Committed: Tue Sep 23 22:12:02 2014 -0700

----------------------------------------------------------------------
 CHANGES.txt                                                      | 1 +
 tez-tests/src/test/java/org/apache/tez/test/TestAMRecovery.java  | 3 +--
 tez-tests/src/test/java/org/apache/tez/test/TestDAGRecovery.java | 1 -
 3 files changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tez/blob/485f675b/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 998bb03..2307c6f 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -24,6 +24,7 @@ ALL CHANGES:
   TEZ-1157. Optimize broadcast shuffle to download data only once per host. 
   TEZ-1607. support mr envs in mrrsleep and testorderedwordcount
   TEZ-1499. Add SortMergeJoinExample to tez-examples
+  TEZ-1613. Decrease running time for TestAMRecovery
 
 Release 0.5.1: Unreleased
 

http://git-wip-us.apache.org/repos/asf/tez/blob/485f675b/tez-tests/src/test/java/org/apache/tez/test/TestAMRecovery.java
----------------------------------------------------------------------
diff --git a/tez-tests/src/test/java/org/apache/tez/test/TestAMRecovery.java b/tez-tests/src/test/java/org/apache/tez/test/TestAMRecovery.java
index bd2fe99..e79d562 100644
--- a/tez-tests/src/test/java/org/apache/tez/test/TestAMRecovery.java
+++ b/tez-tests/src/test/java/org/apache/tez/test/TestAMRecovery.java
@@ -80,7 +80,7 @@ public class TestAMRecovery {
 
   private static Configuration conf = new Configuration();
   private static TezConfiguration tezConf;
-  private static int MAX_AM_ATTEMPT = 50;
+  private static int MAX_AM_ATTEMPT = 10;
   private static MiniTezCluster miniTezCluster = null;
   private static String TEST_ROOT_DIR = "target" + Path.SEPARATOR
       + TestAMRecovery.class.getName() + "-tmpDir";
@@ -181,7 +181,6 @@ public class TestAMRecovery {
       }
     }
     tezSession = null;
-    Thread.sleep(10000);
   }
 
   /**

http://git-wip-us.apache.org/repos/asf/tez/blob/485f675b/tez-tests/src/test/java/org/apache/tez/test/TestDAGRecovery.java
----------------------------------------------------------------------
diff --git a/tez-tests/src/test/java/org/apache/tez/test/TestDAGRecovery.java b/tez-tests/src/test/java/org/apache/tez/test/TestDAGRecovery.java
index 9595cb9..60c1efc 100644
--- a/tez-tests/src/test/java/org/apache/tez/test/TestDAGRecovery.java
+++ b/tez-tests/src/test/java/org/apache/tez/test/TestDAGRecovery.java
@@ -158,7 +158,6 @@ public class TestDAGRecovery {
       }
     }
     tezSession = null;
-    Thread.sleep(10000);
   }
 
   void runDAGAndVerify(DAG dag, DAGStatus.State finalState) throws Exception {


Mime
View raw message