[ https://issues.apache.org/jira/browse/RYA-172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15526507#comment-15526507 ]
ASF GitHub Bot commented on RYA-172: ------------------------------------ Github user asfgit closed the pull request at: https://github.com/apache/incubator-rya/pull/89 > Rya Merger Test Fail (persists temp data between test) > ------------------------------------------------------ > > Key: RYA-172 > URL: https://issues.apache.org/jira/browse/RYA-172 > Project: Rya > Issue Type: Bug > Reporter: Aaron Mihalik > Assignee: Eric White > > CopyToolTest.testImportDirectoryTool will fail the second time it's run. > There is data hanging around in /tmp/hadoop-amihalik/ (for me) after the > first run of the test and it's causing issues the second time. > To reproduce: > in incubator-rya, build rya: > {code} > mvn clean install -DskipTests > {code} > now run the rya.merger tests a couple times: > {code} > cd extras/rya.merger > mvn clean install > mvn clean install > {code} > The error should be this on the second time through > {code} > CopyToolTest.testImportDirectoryTool:355 expected:<20> but was:<0> > {code} > This was in my log (in eclispe): > {code} > 2016-09-07 18:16:44,752 ERROR [main] merge.CopyTool > (CopyTool.java:setupAndRun(860)) - Error running copy tool > java.io.IOException: Target > /tmp/hadoop-mihalik/copy_tool_import/ct_spo/ct_spo is a directory > {code} > my work around is to > {code} > rm -rf /tmp/hadoop-mihalik/ > {code} > between tests -- This message was sent by Atlassian JIRA (v6.3.4#6332)