You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by "Ross Laidlaw (JIRA)" <ji...@apache.org> on 2014/08/12 00:10:13 UTC

[jira] [Comment Edited] (OODT-736) Fix File Manager Unit Tests - 'structs' Package

    [ 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:08 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, these files were created elsewhere and cleaned up.  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, the following directories and files were left inside the filemgr directory:

{noformat}
filemgr/file:/testdata/segments
{noformat}

After applying the patch, 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)