hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mathieu Poumeyrol (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIG-219) Pig tests must cover local and mapreduce execution types
Date Thu, 24 Apr 2008 14:53:24 GMT

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

Mathieu Poumeyrol updated PIG-219:

    Status: Patch Available  (was: Open)

ant test runs twice the junit target, with two different 
values for the property ${test.exectype}. ant test-local runs 
all tests locally, ant-test-mapreduce runs them on the minicluster.

logs are produced in two different subdirectories of 
build/test : logs- mapreduce and logs-local to avoid confusion.

PigTestCase implements junit's TestCase, and is responsible 
for PigServer setup. All current TestCase will have to extend 
PigTestCase instead of TestCase. They can test this.execType 
to skip some test method.

This proposal hardcodes the fact that pig supports two 
backends in PigTestCase and build.xml, but adding a new 
backend does not require to change the actual tests. Good 
enough for now in my opinion.

The patch contains PigTestCase, changes to build.xml and 
TestAlgebraicEval as an example of what has to be done to the 
actual TestCases.

> Pig tests must cover local and mapreduce execution types
> --------------------------------------------------------
>                 Key: PIG-219
>                 URL: https://issues.apache.org/jira/browse/PIG-219
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Mathieu Poumeyrol
>         Attachments: Test.v1.patch
> Followup of Local and MapReduce Test modes in pig-dev.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message