Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
HBase >> mail # user >> Cannot run selected test under 0.94, is OK under trunk/95 though.


+
Tianying Chang 2013-03-26, 20:52
+
Andrew Purtell 2013-03-26, 20:54
Copy link to this message
-
RE: Cannot run selected test under 0.94, is OK under trunk/95 though.
Andrew,

Thanks! -PlocalTests works!

Tian-Ying
________________________________________
From: Andrew Purtell [[EMAIL PROTECTED]]
Sent: Tuesday, March 26, 2013 1:54 PM
To: [EMAIL PROTECTED]
Subject: Re: Cannot run selected test under 0.94, is OK under trunk/95 though.

Use one of the Maven switches -PrunAllTests or -PlocalTests
On Tue, Mar 26, 2013 at 9:52 PM, Tianying Chang <[EMAIL PROTECTED]> wrote:

> Hi,
>
> I can run either full test or a selected test under either trunk or 95.
> But after I checkout to branch 94, I found I cannot run a selected test
> anymore. It can still run the full test suite though. I am adding a new
> unit test, I don't want to have run the whole test suite each time. Anyone
> has any idea what went wrong here?
>
>
> I did following:
> >git checkout -b myChange remote/origin/0.94
> >mvn -Dtest=TestAdmin test
>
> [ERROR] Failed to execute goal org.apache.maven.plugins:
> maven-surefire-plugin:2.12-TRUNK-HBASE-2:test (default-test) on project
> hbase: No tests were executed!  (Set -DfailIfNoTests=false to ignore this
> error.) -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal org.apache.maven.plugins:maven-surefire-plugin:2.12-TRUNK-HBASE-2:test
> (default-test) on project hbase: No tests were executed!  (Set
> -DfailIfNoTests=false to ignore this error.)
>
> Thanks
> Tian-Ying
>

--
Best regards,

   - Andy

Problems worthy of attack prove their worth by hitting back. - Piet Hein
(via Tom White)
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB