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]

Reply via email to