HBASE-12153 Fixing TestReplicaWithCluster (Manukranth Kolloju)
This commit is contained in:
parent
11e28eb76b
commit
2c8f6b66cf
|
@ -225,7 +225,8 @@ public class TestReplicaWithCluster {
|
|||
admin.close();
|
||||
}
|
||||
|
||||
@Test (timeout=30000)
|
||||
@SuppressWarnings("deprecation")
|
||||
@Test (timeout=120000)
|
||||
public void testReplicaAndReplication() throws Exception {
|
||||
HTableDescriptor hdt = HTU.createTableDescriptor("testReplicaAndReplication");
|
||||
hdt.setRegionReplication(NB_SERVERS);
|
||||
|
@ -331,6 +332,7 @@ public class TestReplicaWithCluster {
|
|||
|
||||
// bulk load HFiles
|
||||
LOG.debug("Loading test data");
|
||||
@SuppressWarnings("deprecation")
|
||||
final HConnection conn = HTU.getHBaseAdmin().getConnection();
|
||||
RegionServerCallable<Void> callable = new RegionServerCallable<Void>(
|
||||
conn, hdt.getTableName(), TestHRegionServerBulkLoad.rowkey(0)) {
|
||||
|
|
Loading…
Reference in New Issue