You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pig.apache.org by Corbin Hoenes <co...@tynt.com> on 2010/12/17 05:23:15 UTC

running tests for pig 0.8 takes a long time?

[junit] Tests run: 17, Failures: 0, Errors: 0, Time elapsed: 584.868 sec
    [junit] Running org.apache.pig.test.TestAdd
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.284 sec
    [junit] Running org.apache.pig.test.TestAlgebraicEval
    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 379.848 sec
    [junit] Running org.apache.pig.test.TestAlgebraicEvalLocal
    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 89.801 sec
    [junit] Running org.apache.pig.test.TestAlgebraicInstantiation
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 115.003 sec


Is this normal?  Do I need to setup something before running tests?

Re: running tests for pig 0.8 takes a long time?

Posted by Thejas M Nair <te...@yahoo-inc.com>.
The entire test suite ('ant test') takes several hours (I think 6+ on my machine), and on my machine I also need to increase the timeout so that skewjoin test cases don't fail because of timeout -
-    <property name="test.timeout" value="2700000" />
+    <property name="test.timeout" value="9900000" />


If you want to run a smaller set of tests with somewhat wide coverage, try running 'ant test-commit' .

-Thejas


On 12/16/10 8:23 PM, "Corbin Hoenes" <co...@tynt.com> wrote:

[junit] Tests run: 17, Failures: 0, Errors: 0, Time elapsed: 584.868 sec
    [junit] Running org.apache.pig.test.TestAdd
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.284 sec
    [junit] Running org.apache.pig.test.TestAlgebraicEval
    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 379.848 sec
    [junit] Running org.apache.pig.test.TestAlgebraicEvalLocal
    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 89.801 sec
    [junit] Running org.apache.pig.test.TestAlgebraicInstantiation
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 115.003 sec


Is this normal?  Do I need to setup something before running tests?