[ https://issues.apache.org/jira/browse/OOZIE-1701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13944771#comment-13944771 ]
Mona Chitnis commented on OOZIE-1701: ------------------------------------- where are you setting TESTING? also avoid the Intellij related prefix in your patch. > 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.2#6252)