Home | About | Sematext search-lucene.com search-hadoop.com
 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
Copy link to this message
-
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)
+
Tianying Chang 2013-03-26, 21:37