Details
-
Bug
-
Status: Patch Available
-
Minor
-
Resolution: Unresolved
-
2.2.4
-
None
-
Patch
Description
In TestCompactorMemLeak#assertMajorCompactionOK, the input argument order for
Assert.assertEquals(long expected, long actual) is wrong. This produced confusion when the test failed.
Below is the original code:
Assert.assertEquals(regions.size(), 1); HRegion region = regions.get(0); Assert.assertEquals(region.getStores().size(), 1); HStore store = region.getStore(FAMILY); Assert.assertEquals(store.getStorefilesCount(), 1);