hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Meil <doug.m...@explorysmedical.com>
Subject Re: hbase unit test issue...
Date Thu, 02 Feb 2012 21:50:43 GMT

Yep, I was on trunk.





On 2/2/12 4:45 PM, "Ted Yu" <yuzhihong@gmail.com> wrote:

>I tried with your command and I got:
>[INFO]
>------------------------------------------------------------------------
>[INFO] BUILD SUCCESS
>[INFO]
>------------------------------------------------------------------------
>[INFO] Total time: 7.086s
>
>Was the following observed on TRUNK ?
>
>Here is my environment:
>
>Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800)
>Maven home: /usr/share/maven
>Java version: 1.6.0_29, vendor: Apple Inc.
>Java home: 
>/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
>Default locale: en_US, platform encoding: MacRoman
>OS name: "mac os x", version: "10.6.8", arch: "x86_64", family: "mac"
>
>On Thu, Feb 2, 2012 at 1:32 PM, Doug Meil
><doug.meil@explorysmedical.com>wrote:
>
>> Hi devs-
>>
>> When trying to execute a unit testŠ
>>
>> $ /apps/apache-maven-3.0.3/bin/mvn test -P localTests
>> -Dtest=TestCompactSelection
>>
>> Š per the new instructions from the updates to the unit test/integ test
>> changesŠ
>>
>> http://hbase.apache.org/book.html#hbase.unittests.cmds
>>
>> Š I'm getting this error:
>>
>> Warning(junit.framework.TestSuite$1)  Time elapsed: 0.007 sec  <<<
>>FAILURE!
>> junit.framework.AssertionFailedError: Exception in constructor:
>> testCompactionRatio (java.lang.Error: Unresolved compilation problems:
>> org.junit.rules.TestWatcher cannot be resolved to a type
>> The method succeeded(Description) of type ResourceCheckerJUnitRule must
>> override or implement a supertype method
>> The method failed(Throwable, Description) of type
>>ResourceCheckerJUnitRule
>> must override or implement a supertype method
>> The method starting(Description) of type ResourceCheckerJUnitRule must
>> override or implement a supertype method
>> The method finished(Description) of type ResourceCheckerJUnitRule must
>> override or implement a supertype method
>> at
>> 
>>org.apache.hadoop.hbase.ResourceCheckerJUnitRule.<init>(ResourceCheckerJU
>>nitRule.java:31)
>>
>>
>> Am I missing something?  Is the book missing something?   (disclaimer:
>>I
>> didn't update the book with these new instructions)
>>
>> Thanks!
>>
>>
>> Doug Meil
>> Chief Software Architect, Explorys
>> doug.meil@explorys.com
>>
>>



Mime
View raw message