You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oozie.apache.org by tu...@apache.org on 2012/03/28 21:57:01 UTC

svn commit: r1306562 - in /incubator/oozie/trunk: ./ core/src/test/java/org/apache/oozie/command/coord/ core/src/test/java/org/apache/oozie/command/wf/ core/src/test/java/org/apache/oozie/service/

Author: tucu
Date: Wed Mar 28 19:57:00 2012
New Revision: 1306562

URL: http://svn.apache.org/viewvc?rev=1306562&view=rev
Log:
OOZIE-789 a few testcases using waitFor are timing out with YARN MiniCluster (tucu)

Modified:
    incubator/oozie/trunk/core/src/test/java/org/apache/oozie/command/coord/TestCoordKillXCommand.java
    incubator/oozie/trunk/core/src/test/java/org/apache/oozie/command/wf/TestActionStartXCommand.java
    incubator/oozie/trunk/core/src/test/java/org/apache/oozie/service/TestRecoveryService.java
    incubator/oozie/trunk/release-log.txt

Modified: incubator/oozie/trunk/core/src/test/java/org/apache/oozie/command/coord/TestCoordKillXCommand.java
URL: http://svn.apache.org/viewvc/incubator/oozie/trunk/core/src/test/java/org/apache/oozie/command/coord/TestCoordKillXCommand.java?rev=1306562&r1=1306561&r2=1306562&view=diff
==============================================================================
--- incubator/oozie/trunk/core/src/test/java/org/apache/oozie/command/coord/TestCoordKillXCommand.java (original)
+++ incubator/oozie/trunk/core/src/test/java/org/apache/oozie/command/coord/TestCoordKillXCommand.java Wed Mar 28 19:57:00 2012
@@ -246,7 +246,7 @@ public class TestCoordKillXCommand exten
             queueservice.queue(c);
         }
 
-        waitFor(500, new Predicate() {
+        waitFor(1000, new Predicate() {
             public boolean evaluate() throws Exception {
                 return callable1.executed != 0 && callable2.executed == 0 && callable3.executed == 0;
             }

Modified: incubator/oozie/trunk/core/src/test/java/org/apache/oozie/command/wf/TestActionStartXCommand.java
URL: http://svn.apache.org/viewvc/incubator/oozie/trunk/core/src/test/java/org/apache/oozie/command/wf/TestActionStartXCommand.java?rev=1306562&r1=1306561&r2=1306562&view=diff
==============================================================================
--- incubator/oozie/trunk/core/src/test/java/org/apache/oozie/command/wf/TestActionStartXCommand.java (original)
+++ incubator/oozie/trunk/core/src/test/java/org/apache/oozie/command/wf/TestActionStartXCommand.java Wed Mar 28 19:57:00 2012
@@ -228,7 +228,7 @@ public class TestActionStartXCommand ext
         final RunningJob launcherJob = jobClient.getJob(JobID.forName(launcherId));
 
         // time out after 120 seconds unless launcher job succeeds
-        waitFor(120 * 1000, new Predicate() {
+        waitFor(240 * 1000, new Predicate() {
             public boolean evaluate() throws Exception {
                 return launcherJob.isComplete();
             }

Modified: incubator/oozie/trunk/core/src/test/java/org/apache/oozie/service/TestRecoveryService.java
URL: http://svn.apache.org/viewvc/incubator/oozie/trunk/core/src/test/java/org/apache/oozie/service/TestRecoveryService.java?rev=1306562&r1=1306561&r2=1306562&view=diff
==============================================================================
--- incubator/oozie/trunk/core/src/test/java/org/apache/oozie/service/TestRecoveryService.java (original)
+++ incubator/oozie/trunk/core/src/test/java/org/apache/oozie/service/TestRecoveryService.java Wed Mar 28 19:57:00 2012
@@ -218,7 +218,7 @@ public class TestRecoveryService extends
 
         final RunningJob launcherJob = jobClient.getJob(JobID.forName(launcherId));
 
-        waitFor(120 * 1000, new Predicate() {
+        waitFor(240 * 1000, new Predicate() {
             public boolean evaluate() throws Exception {
                 return launcherJob.isComplete();
             }

Modified: incubator/oozie/trunk/release-log.txt
URL: http://svn.apache.org/viewvc/incubator/oozie/trunk/release-log.txt?rev=1306562&r1=1306561&r2=1306562&view=diff
==============================================================================
--- incubator/oozie/trunk/release-log.txt (original)
+++ incubator/oozie/trunk/release-log.txt Wed Mar 28 19:57:00 2012
@@ -1,6 +1,7 @@
 -- Oozie 3.2.0 release
 
-OOZIE-781: Xerces validator used by Java gets stuck during pattern matching (Virag via Mohammad)
+OOZIE-789 a few testcases using waitFor are timing out with YARN MiniCluster (tucu)
+OOZIE-781 Xerces validator used by Java gets stuck during pattern matching (Virag via Mohammad)
 OOZIE-788 JavaActionExecutor should not set yarn.resourcemanager.address (tucu)
 OOZIE-785 No JsonToBean mapping for coord pausetime(shwetha via Mohammad)
 OOZIE-786 tomcat should stop if oozie does not start correctly (tucu)