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

Siddharth Seth commented on HIVE-13505:
---------------------------------------

mvn install -DskipTests also produces the artifacts. I've run that, followed by 
mvn test -Dtest=TestDummy under the qtest directory. The only difference is the 
files created as a result of running the 2 tests that exist, and are 
insignificant (diff pasted).

Looking at PrepPhase.java, and the output from a previous run - I think this 
patch will take affect without restarting the test framework. There's roughly 8 
minutes on the build time to be gained by doing this.

[~szehon] - I think we should commit it, and monitor a couple of builds. If 
anything breaks - it can always be reverted and looked at again.

{code}
2016-04-14 12:50:00,819  INFO PTest.run:169 Executing 
org.apache.hive.ptest.execution.PrepPhase
2016-04-14 12:50:00,819  INFO LocalCommand.<init>:35 Starting rm -rf 
/data/hive-ptest/working/scratch
2016-04-14 12:50:00,868  INFO LocalCommand.<init>:35 Starting mkdir -p 
/data/hive-ptest/working/scratch
2016-04-14 12:50:00,960  INFO LocalCommand.<init>:35 Starting cp -f 
/data/hive-ptest/logs/PreCommit-HIVE-TRUNK-Build-7589/patches/PreCommit-HIVE-TRUNK-Build-7589.patch
 /data/hive-ptest/working/scratch/build.patch
{code}

{code}
3067a3068,3070
> ./qtest-accumulo/target/surefire-reports
> ./qtest-accumulo/target/surefire-reports/TEST-org.apache.hive.TestDummy.xml
> ./qtest-accumulo/target/surefire-reports/org.apache.hive.TestDummy.txt
3941a3945,3947
> ./qtest/target/surefire-reports
> ./qtest/target/surefire-reports/TEST-org.apache.hive.TestDummy.xml
> ./qtest/target/surefire-reports/org.apache.hive.TestDummy.txt
{code}

> Skip running TestDummy where possibe during precommit builds
> ------------------------------------------------------------
>
>                 Key: HIVE-13505
>                 URL: https://issues.apache.org/jira/browse/HIVE-13505
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Siddharth Seth
>            Assignee: Siddharth Seth
>             Fix For: 2.1.0
>
>         Attachments: HIVE-13505.01.patch
>
>
> On the main Hive build - this does nothing. There are some tests named 
> TestDummy under qtests - I'm not sure they do anything useful though.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to