From 2c8f6b66cf31d3569de6626686d4ac5bf67e8efe Mon Sep 17 00:00:00 2001 From: stack Date: Thu, 2 Oct 2014 09:22:33 -0700 Subject: [PATCH] HBASE-12153 Fixing TestReplicaWithCluster (Manukranth Kolloju) --- .../apache/hadoop/hbase/client/TestReplicaWithCluster.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestReplicaWithCluster.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestReplicaWithCluster.java index e1aef056d98..e45e38365dc 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestReplicaWithCluster.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestReplicaWithCluster.java @@ -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 callable = new RegionServerCallable( conn, hdt.getTableName(), TestHRegionServerBulkLoad.rowkey(0)) {