Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
0.90.0
-
None
Description
I first saw this in a Hudson build, but can reproduce locally with enough test runs (5-10 times):
------------------------------------------------------------------------------- Test set: org.apache.hadoop.hbase.regionserver.TestHRegion ------------------------------------------------------------------------------- Tests run: 51, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 39.413 sec <<< FAILURE! testIncrementColumnValue_UpdatingInPlace(org.apache.hadoop.hbase.regionserver.TestHRegion) Time elapsed: 0.079 sec <<< FAILURE! junit.framework.AssertionFailedError: expected:<1> but was:<2> at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.failNotEquals(Assert.java:283) at junit.framework.Assert.assertEquals(Assert.java:64) at junit.framework.Assert.assertEquals(Assert.java:195) at junit.framework.Assert.assertEquals(Assert.java:201) at org.apache.hadoop.hbase.regionserver.TestHRegion.testIncrementColumnValue_UpdatingInPlace(TestHRegion.java:1889) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Alternately, the failure can also show up in testIncrementColumnValue_UpdatingInPlace_Negative():
testIncrementColumnValue_UpdatingInPlace_Negative(org.apache.hadoop.hbase.regionserver.TestHRegion) Time elapsed: 0.03 sec <<< FAILURE! junit.framework.AssertionFailedError: expected:<2> but was:<3> at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.failNotEquals(Assert.java:283) at junit.framework.Assert.assertEquals(Assert.java:64) at junit.framework.Assert.assertEquals(Assert.java:130) at junit.framework.Assert.assertEquals(Assert.java:136) at org.apache.hadoop.hbase.regionserver.TestHRegion.assertICV(TestHRegion.java:2081) at org.apache.hadoop.hbase.regionserver.TestHRegion.testIncrementColumnValue_UpdatingInPlace_Negative(TestHRegion.java:1990) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)