Author: rkanter
Date: Thu Apr 18 01:02:59 2013
New Revision: 1469115

URL: http://svn.apache.org/r1469115
Log:
OOZIE-1332 Flakey test 
TestActionCheckXCommand.testActionCheckTransientDuringMRAction (rkanter)

Modified:
    
oozie/trunk/core/src/test/java/org/apache/oozie/command/wf/TestActionCheckXCommand.java
    oozie/trunk/release-log.txt

Modified: 
oozie/trunk/core/src/test/java/org/apache/oozie/command/wf/TestActionCheckXCommand.java
URL: 
http://svn.apache.org/viewvc/oozie/trunk/core/src/test/java/org/apache/oozie/command/wf/TestActionCheckXCommand.java?rev=1469115&r1=1469114&r2=1469115&view=diff
==============================================================================
--- 
oozie/trunk/core/src/test/java/org/apache/oozie/command/wf/TestActionCheckXCommand.java
 (original)
+++ 
oozie/trunk/core/src/test/java/org/apache/oozie/command/wf/TestActionCheckXCommand.java
 Thu Apr 18 01:02:59 2013
@@ -245,13 +245,12 @@ public class TestActionCheckXCommand ext
             return;
         }
         services.destroy();
-        // Make the ActionCheckXCommand run more frequently so the test won't 
take as long
-        
setSystemProperty("oozie.service.ActionCheckerService.action.check.interval", 
"10");
-        
setSystemProperty("oozie.service.ActionCheckerService.action.check.delay", 
"20");
         // Make the max number of retries lower so the test won't take as long
         final int maxRetries = 2;
         setSystemProperty("oozie.action.retries.max", 
Integer.toString(maxRetries));
         services = new Services();
+        // Disable ActionCheckerService so it doesn't interfere by triggering 
any extra ActionCheckXCommands
+        setClassesToBeExcluded(services.getConf(), new 
String[]{"org.apache.oozie.service.ActionCheckerService"});
         services.init();
 
         final JPAService jpaService = Services.get().get(JPAService.class);
@@ -355,13 +354,12 @@ public class TestActionCheckXCommand ext
             return;
         }
         services.destroy();
-        // Make the ActionCheckXCommand run more frequently so the test won't 
take as long
-        
setSystemProperty("oozie.service.ActionCheckerService.action.check.interval", 
"10");
-        
setSystemProperty("oozie.service.ActionCheckerService.action.check.delay", 
"20");
         // Make the max number of retries lower so the test won't take as long
         final int maxRetries = 2;
         setSystemProperty("oozie.action.retries.max", 
Integer.toString(maxRetries));
         services = new Services();
+        // Disable ActionCheckerService so it doesn't interfere by triggering 
any extra ActionCheckXCommands
+        setClassesToBeExcluded(services.getConf(), new 
String[]{"org.apache.oozie.service.ActionCheckerService"});
         services.init();
 
         final JPAService jpaService = Services.get().get(JPAService.class);

Modified: oozie/trunk/release-log.txt
URL: 
http://svn.apache.org/viewvc/oozie/trunk/release-log.txt?rev=1469115&r1=1469114&r2=1469115&view=diff
==============================================================================
--- oozie/trunk/release-log.txt (original)
+++ oozie/trunk/release-log.txt Thu Apr 18 01:02:59 2013
@@ -25,6 +25,7 @@ OOZIE-1239 Bump up trunk to 4.1.0-SNAPSH
 
 -- Oozie 4.0.0 (unreleased)
 
+OOZIE-1332 Flakey test 
TestActionCheckXCommand.testActionCheckTransientDuringMRAction (rkanter)
 OOZIE-1150 DB upgrade scripts for hcat changes (ryota via virag)
 OOZIE-1323 HTTPS docs lists the same step twice for creating a self-signed 
certificate (rkanter)
 OOZIE-1280 CoordPushDependencyCheck queued by Recovery Services doesn't remove 
dependencies from cache (rohini via virag)


Reply via email to