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 <[email protected]>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>(ResourceCheckerJUnitRule.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 > [email protected] > >
