Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Pig, mail # user - running tests for pig 0.8 takes a long time?


+
Corbin Hoenes 2010-12-17, 04:23
Copy link to this message
-
Re: running tests for pig 0.8 takes a long time?
Thejas M Nair 2010-12-17, 05:14
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" <[EMAIL PROTECTED]> 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?