You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@rya.apache.org by "Puja Valiyil (JIRA)" <ji...@apache.org> on 2016/11/02 18:57:58 UTC

[jira] [Resolved] (RYA-172) Rya Merger Test Fail (persists temp data between test)

     [ https://issues.apache.org/jira/browse/RYA-172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Puja Valiyil  resolved RYA-172.
-------------------------------
    Resolution: Fixed

> 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)