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

Switch to Threaded View
Hive >> mail # dev >> hive unit test report question

Copy link to this message
Re: hive unit test report question
I think you want to add
you should then have target/site/surefire-report.html in the module where
you ran the command

On Mon, Jan 13, 2014 at 2:54 PM, Szehon Ho <[EMAIL PROTECTED]> wrote:

> Hi Shanyu,
> Are you running in /itests?  The unit tests are in there, and are not run
> if you are running from the root.
> Thanks
> Szehon
> On Mon, Jan 13, 2014 at 1:59 PM, Shanyu Zhao <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I was trying to build hive trunk, run all unit tests and generate
> reports,
> > but I'm not sure what's the correct command line. I was using:
> > mvn clean install -Phadoop-2 -DskipTests
> > mvn test surefire-report:report -Phadoop-2
> > But the reports in the root folder and several other projects (such as
> > metastore) are empty with no test results. And I couldn't find a summary
> > page for all unit tests.
> >
> > I was trying to avoid "mvn site" because it seems to take forever to
> > finish. Am I using the correct commands? How can I get a report like the
> > one in the precommit report:
> >
> http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/827/testReport/
> > ?
> >
> > I really appreciate your help!
> >
> > Shanyu
> >

NOTICE: This message is intended for the use of the individual or entity to
which it is addressed and may contain information that is confidential,
privileged and exempt from disclosure under applicable law. If the reader
of this message is not the intended recipient, you are hereby notified that
any printing, copying, dissemination, distribution, disclosure or
forwarding of this communication is strictly prohibited. If you have
received this communication in error, please contact the sender immediately
and delete it from your system. Thank You.