[ 
https://issues.apache.org/jira/browse/OOZIE-804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13250064#comment-13250064
 ] 

[email protected] commented on OOZIE-804:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/4654/#review6798
-----------------------------------------------------------

Ship it!


+1 committing

- Mohammad


On 2012-04-05 16:34:14, Virag Kothari wrote:
bq.  
bq.  -----------------------------------------------------------
bq.  This is an automatically generated e-mail. To reply, visit:
bq.  https://reviews.apache.org/r/4654/
bq.  -----------------------------------------------------------
bq.  
bq.  (Updated 2012-04-05 16:34:14)
bq.  
bq.  
bq.  Review request for oozie.
bq.  
bq.  
bq.  Summary
bq.  -------
bq.  
bq.  https://issues.apache.org/jira/browse/OOZIE-804
bq.  
bq.  
bq.  This addresses bug oozie-804.
bq.      https://issues.apache.org/jira/browse/oozie-804
bq.  
bq.  
bq.  Diffs
bq.  -----
bq.  
bq.    
trunk/core/src/test/java/org/apache/oozie/action/decision/TestDecisionActionExecutor.java
 1309630 
bq.  
bq.  Diff: https://reviews.apache.org/r/4654/diff
bq.  
bq.  
bq.  Testing
bq.  -------
bq.  
bq.  
bq.  Thanks,
bq.  
bq.  Virag
bq.  
bq.


                
> TestDecisionActionExecutor failing due to uninitialized conf
> ------------------------------------------------------------
>
>                 Key: OOZIE-804
>                 URL: https://issues.apache.org/jira/browse/OOZIE-804
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Virag Kothari
>            Assignee: Virag Kothari
>
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 7.574 sec <<< 
> FAILURE!
>   5 testDecision(org.apache.oozie.action.decision.TestDecisionActionExecutor) 
>  Time elapsed: 7.422 sec  <<< ERROR!
>   6 java.lang.NullPointerException
>   7         at 
> org.apache.oozie.action.ActionExecutor.getOozieConf(ActionExecutor.java:293)
>   8         at 
> org.apache.oozie.action.ActionExecutor.<init>(ActionExecutor.java:230)
>   9         at 
> org.apache.oozie.action.ActionExecutor.<init>(ActionExecutor.java:218)
>  10         at 
> org.apache.oozie.action.decision.DecisionActionExecutor.<init>(DecisionActionExecutor.java:39)
>  11         at 
> org.apache.oozie.action.decision.TestDecisionActionExecutor.testDecision(TestDecisionActionExecutor.java:143)
> As part of oozie-796, the oozieConf is obtained in the constructor. The 
> testcase needs to account for that by initializing the services. 
> Also, currently we have surefire-2.7 which doesn't fail the build if the 
> testcase 'errors' out. It only fails if the testcase has a 'failure'.
> This problem is solved by using surefire-2.12. However that is done as part 
> oozie-783.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to