HBASE-2156 finally fixing the test
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1024425 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
95c46c0e74
commit
315d5da29b
|
@ -3690,6 +3690,7 @@ public class TestFromClientSide {
|
|||
* For HBASE-2156
|
||||
* @throws Exception
|
||||
*/
|
||||
@Test
|
||||
public void testScanVariableReuse() throws Exception {
|
||||
Scan scan = new Scan();
|
||||
scan.addFamily(FAMILY);
|
||||
|
@ -3700,7 +3701,8 @@ public class TestFromClientSide {
|
|||
scan = new Scan();
|
||||
scan.addFamily(FAMILY);
|
||||
|
||||
assertTrue(scan.getFamilyMap().get(FAMILY).size() == 0);
|
||||
assertTrue(scan.getFamilyMap().get(FAMILY) == null);
|
||||
assertTrue(scan.getFamilyMap().containsKey(FAMILY));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue