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/07/24 02:00:46 UTC

[jira] [Comment Edited] (OODT-685) Fix OODT 0.7-SNAPSHOT Jenkins nightly build on Ubuntu

    [ https://issues.apache.org/jira/browse/OODT-685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14072542#comment-14072542 ] 

Ross Laidlaw edited comment on OODT-685 at 7/24/14 12:00 AM:
-------------------------------------------------------------

Hi All,

Here's a patch (also posted to [review board|https://reviews.apache.org/r/23870]) that replaces references to "src/testdata" with "src/test/resources" in the file manager test classes.

I also found three test resource files for file manager that had duplicate XML: command-line-actions.xml, command-line-options.xml and product-types.xml.  Each file had its XML repeated twice in the same file, so the patch removes the duplicate parts.

With this patch, most of the file manager tests work for me, but I still get one error and one failure:

{noformat}
Results :

Failed tests: 
  testGetElements(org.apache.oodt.cas.filemgr.validation.TestXMLValidationLayer): There aren't exactly 4 elements in the test samples! expected:<4> but was:<11>

Tests in error: 
  testAddProductType(org.apache.oodt.cas.filemgr.cli.TestFileManagerCli): org.apache.oodt.cas.cli.exception.CmdLineConstructionException: Invalid option: 'typeName'
{noformat}



was (Author: rlaidlaw):
Hi All,

Here's a patch that replaces references to "src/testdata" with "src/test/resources" in the file manager test classes.

I also found three test resource files for file manager that had duplicate XML: command-line-actions.xml, command-line-options.xml and product-types.xml.  Each file had its XML repeated twice in the same file, so the patch removes the duplicate parts.

With this patch, most of the file manager tests work for me, but I still get one error and one failure:

{noformat}
Results :

Failed tests: 
  testGetElements(org.apache.oodt.cas.filemgr.validation.TestXMLValidationLayer): There aren't exactly 4 elements in the test samples! expected:<4> but was:<11>

Tests in error: 
  testAddProductType(org.apache.oodt.cas.filemgr.cli.TestFileManagerCli): org.apache.oodt.cas.cli.exception.CmdLineConstructionException: Invalid option: 'typeName'
{noformat}


I've posted the patch to [review board|https://reviews.apache.org/r/23870].

> Fix OODT 0.7-SNAPSHOT Jenkins nightly build on Ubuntu
> -----------------------------------------------------
>
>                 Key: OODT-685
>                 URL: https://issues.apache.org/jira/browse/OODT-685
>             Project: OODT
>          Issue Type: Improvement
>          Components: build proces, file manager, push pull framework
>    Affects Versions: 0.7
>            Reporter: Lewis John McGibbney
>            Assignee: Lewis John McGibbney
>            Priority: Blocker
>              Labels: reviewboard
>             Fix For: 0.7
>
>         Attachments: OODT-685.fix-tests.rlaidlaw.2014-07-23.patch.txt, OODT-685.patch
>
>
> This is a long overdue issue and we need to stabalize the OODT trunk nightly build on *nix platforms.
> Now I have access to a workstation I'll be working on this one until it is sorted out.



--
This message was sent by Atlassian JIRA
(v6.2#6252)