You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2014/02/20 06:36:20 UTC

[jira] [Commented] (OOZIE-1701) TestXTestCase#testWaitFor and TestXTestCase#testBaseDir have the errors

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

Hadoop QA commented on OOZIE-1701:
----------------------------------

Testing JIRA OOZIE-1701

Cleaning local git workspace

----------------------------

{color:green}+1 PATCH_APPLIES{color}
{color:green}+1 CLEAN{color}
{color:green}+1 RAW_PATCH_ANALYSIS{color}
.    {color:green}+1{color} the patch does not introduce any @author tags
.    {color:green}+1{color} the patch does not introduce any tabs
.    {color:green}+1{color} the patch does not introduce any trailing spaces
.    {color:green}+1{color} the patch does not introduce any line longer than 132
.    {color:green}+1{color} the patch does adds/modifies 1 testcase(s)
{color:green}+1 RAT{color}
.    {color:green}+1{color} the patch does not seem to introduce new RAT warnings
{color:green}+1 JAVADOC{color}
.    {color:green}+1{color} the patch does not seem to introduce new Javadoc warnings
{color:green}+1 COMPILE{color}
.    {color:green}+1{color} HEAD compiles
.    {color:green}+1{color} patch compiles
.    {color:green}+1{color} the patch does not seem to introduce new javac warnings
{color:green}+1 BACKWARDS_COMPATIBILITY{color}
.    {color:green}+1{color} the patch does not change any JPA Entity/Colum/Basic/Lob/Transient annotations
.    {color:green}+1{color} the patch does not modify JPA files
{color:red}-1 TESTS{color}
.    Tests run: 1389
.    Tests failed: 0
.    Tests errors: 1

.    The patch failed the following testcases:

.      

{color:green}+1 DISTRO{color}
.    {color:green}+1{color} distro tarball builds with the patch 

----------------------------
{color:red}*-1 Overall result, please check the reported -1(s)*{color}


The full output of the test-patch run is available at

.   https://builds.apache.org/job/oozie-trunk-precommit-build/1063/

> TestXTestCase#testWaitFor and TestXTestCase#testBaseDir have the errors
> -----------------------------------------------------------------------
>
>                 Key: OOZIE-1701
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1701
>             Project: Oozie
>          Issue Type: Bug
>    Affects Versions: trunk
>            Reporter: Ostap
>            Assignee: Ostap
>             Fix For: trunk
>
>         Attachments: OOZIE-1701.patch
>
>
> TestXTestCase have the methods testBaseDir and testWaitFor.
> TestXTestCase has the inner class MyXTestCase as well that have the same methods with the same name.
> The problem is that Junit runs tests and creates the directory for inner class before the time when the actual tests would be running.
> As a result we have the following errors:" testWaitFor(org.apache.oozie.test.TestXTestCase): could not delete path [oozie-monarch\core\target\test-data\oozietests\org.apache.oozie.test.TestXTestCase$MyXTestCase\testWaitFor\conf\oozie-site.xml] testBaseDir(org.apache.oozie.test.TestXTestCase): could not delete path [oozie-monarch\core\target\test-data\oozietests\org.apache.oozie.test.TestXTestCase$MyXTestCase\testBaseDir\conf\oozie-site.xml]"
> That is why we need to add the check for setUp and tearDown methods as for the other
> This errors  appear in Windows



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)