HBASE-2983. TestHLog unit test is mis-comparing an assertion (Alex Newman via Todd Lipcon)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@995999 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
32800d3be6
commit
4373f9eeb7
|
@ -518,6 +518,8 @@ Release 0.21.0 - Unreleased
|
|||
HBASE-2974 LoadBalancer ArithmeticException: / by zero
|
||||
HBASE-2975 DFSClient names in master and RS should be unique
|
||||
HBASE-2978 LoadBalancer IndexOutOfBoundsException
|
||||
HBASE-2983 TestHLog unit test is mis-comparing an assertion
|
||||
(Alex Newman via Todd Lipcon)
|
||||
|
||||
IMPROVEMENTS
|
||||
HBASE-1760 Cleanup TODOs in HTable
|
||||
|
|
|
@ -522,7 +522,7 @@ public class TestHLog {
|
|||
assertEquals(COL_COUNT, entry.getEdit().size());
|
||||
int idx = 0;
|
||||
for (KeyValue val : entry.getEdit().getKeyValues()) {
|
||||
assertTrue(Bytes.equals(hri.getRegionName(),
|
||||
assertTrue(Bytes.equals(hri.getEncodedNameAsBytes(),
|
||||
entry.getKey().getEncodedRegionName()));
|
||||
assertTrue(Bytes.equals(tableName, entry.getKey().getTablename()));
|
||||
assertTrue(Bytes.equals(row, val.getRow()));
|
||||
|
@ -535,7 +535,7 @@ public class TestHLog {
|
|||
entry = reader.next();
|
||||
assertEquals(1, entry.getEdit().size());
|
||||
for (KeyValue val : entry.getEdit().getKeyValues()) {
|
||||
assertTrue(Bytes.equals(hri.getRegionName(),
|
||||
assertTrue(Bytes.equals(hri.getEncodedNameAsBytes(),
|
||||
entry.getKey().getEncodedRegionName()));
|
||||
assertTrue(Bytes.equals(tableName, entry.getKey().getTablename()));
|
||||
assertTrue(Bytes.equals(HLog.METAROW, val.getRow()));
|
||||
|
|
Loading…
Reference in New Issue