[
https://issues.apache.org/jira/browse/OODT-736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14093414#comment-14093414
]
Ross Laidlaw edited comment on OODT-736 at 8/11/14 10:09 PM:
-------------------------------------------------------------
Here's a patch that overrides the
org.apache.oodt.cas.filemgr.catalog.lucene.idxPath property from
src/test/resources/filemgr.properties.
The following command, run from the top-level (trunk) directory, was used to
verify that it works:
{noformat}
mvn clean -Dtest=TestTypeHandler -DfailIfNoTests=false test -pl filemgr -am
{noformat}
Before applying the patch, after running the above command, the following
directories and files were left inside the filemgr directory:
{noformat}
filemgr/file:/testdata/segments
{noformat}
After applying the patch, when the above command was run, the
file:/testdata/segments data was not created in the filemgr directory and no
data was left over in the filemgr directory after running the tests.
The tests passed both before and after the patch was applied.
was (Author: rlaidlaw):
Here's a patch that overrides the
org.apache.oodt.cas.filemgr.catalog.lucene.idxPath property from
src/test/resources/filemgr.properties.
The following command, run from the top-level (trunk) directory, was used to
verify that it works:
{noformat}
mvn clean -Dtest=TestTypeHandler -DfailIfNoTests=false test -pl filemgr -am
{noformat}
Before applying the patch, after running the above command, the following
directories and files were left inside the filemgr directory:
{noformat}
filemgr/file:/testdata/segments
{noformat}
After applying the patch, when the above command was run, these files were
created elsewhere and cleaned up. The tests passed both before and after the
patch was applied.
> Fix File Manager Unit Tests - 'structs' Package
> -----------------------------------------------
>
> Key: OODT-736
> URL: https://issues.apache.org/jira/browse/OODT-736
> Project: OODT
> Issue Type: Sub-task
> Components: file manager
> Affects Versions: 0.7
> Reporter: Ross Laidlaw
> Assignee: Ross Laidlaw
> Labels: patch, test
> Fix For: 0.7
>
> Attachments: OODT-736.clean-up-catalog.rlaidlaw.2014-08-11.patch.txt,
> OODT-736.fix-structs-tests.rlaidlaw.2014-08-05.patch.txt
>
>
> There are three failing tests from the structs.type package (TestTypeHandler
> class) that need to be repaired, plus some paths/properties in the
> TestProduct and TestReference classes (structs package) that need updating.
--
This message was sent by Atlassian JIRA
(v6.2#6252)