You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2014/10/02 18:22:49 UTC

git commit: HBASE-12153 Fixing TestReplicaWithCluster (Manukranth Kolloju)

Repository: hbase
Updated Branches:
  refs/heads/master 11e28eb76 -> 2c8f6b66c


HBASE-12153 Fixing TestReplicaWithCluster (Manukranth Kolloju)


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/2c8f6b66
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/2c8f6b66
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/2c8f6b66

Branch: refs/heads/master
Commit: 2c8f6b66cf31d3569de6626686d4ac5bf67e8efe
Parents: 11e28eb
Author: stack <st...@apache.org>
Authored: Thu Oct 2 09:22:33 2014 -0700
Committer: stack <st...@apache.org>
Committed: Thu Oct 2 09:22:48 2014 -0700

----------------------------------------------------------------------
 .../org/apache/hadoop/hbase/client/TestReplicaWithCluster.java   | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/2c8f6b66/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestReplicaWithCluster.java
----------------------------------------------------------------------
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 e1aef05..e45e383 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<Void> callable = new RegionServerCallable<Void>(
       conn, hdt.getTableName(), TestHRegionServerBulkLoad.rowkey(0)) {