hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From la...@apache.org
Subject svn commit: r1426711 - in /hbase/branches/0.94: CHANGES.txt src/test/java/org/apache/hadoop/hbase/regionserver/TestSplitLogWorker.java src/test/java/org/apache/hadoop/hbase/replication/TestReplication.java
Date Sat, 29 Dec 2012 06:23:38 GMT
Author: larsh
Date: Sat Dec 29 06:23:37 2012
New Revision: 1426711

URL: http://svn.apache.org/viewvc?rev=1426711&view=rev
Log:
HBASE-7455 Increase timeouts in TestReplication and TestSplitLogWorker

Modified:
    hbase/branches/0.94/CHANGES.txt
    hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/regionserver/TestSplitLogWorker.java
    hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/replication/TestReplication.java

Modified: hbase/branches/0.94/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/CHANGES.txt?rev=1426711&r1=1426710&r2=1426711&view=diff
==============================================================================
--- hbase/branches/0.94/CHANGES.txt (original)
+++ hbase/branches/0.94/CHANGES.txt Sat Dec 29 06:23:37 2012
@@ -53,6 +53,7 @@ Bug
     [HBASE-7432] - TestHBaseFsck prevents testsuite from finishing
     [HBASE-7435] - BuiltInGzipDecompressor is only released during full GC
     [HBASE-7440] - ReplicationZookeeper#addPeer is racy
+    [HBASE-7455] - Increase timeouts in TestReplication and TestSplitLogWorker
 
 Improvement
 

Modified: hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/regionserver/TestSplitLogWorker.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/regionserver/TestSplitLogWorker.java?rev=1426711&r1=1426710&r2=1426711&view=diff
==============================================================================
--- hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/regionserver/TestSplitLogWorker.java
(original)
+++ hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/regionserver/TestSplitLogWorker.java
Sat Dec 29 06:23:37 2012
@@ -139,7 +139,7 @@ public class TestSplitLogWorker {
       "rs", neverEndingTask);
     slw.start();
     try {
-      waitForCounter(tot_wkr_task_acquired, 0, 1, 100);
+      waitForCounter(tot_wkr_task_acquired, 0, 1, 1000);
       assertTrue(TaskState.TASK_OWNED.equals(ZKUtil.getData(zkw,
         ZKSplitLog.getEncodedNodeName(zkw, "tatas")), "rs"));
     } finally {

Modified: hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/replication/TestReplication.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/replication/TestReplication.java?rev=1426711&r1=1426710&r2=1426711&view=diff
==============================================================================
--- hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/replication/TestReplication.java
(original)
+++ hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/replication/TestReplication.java
Sat Dec 29 06:23:37 2012
@@ -78,8 +78,8 @@ public class TestReplication {
   private static final int NB_ROWS_IN_BATCH = 100;
   private static final int NB_ROWS_IN_BIG_BATCH =
       NB_ROWS_IN_BATCH * 10;
-  private static final long SLEEP_TIME = 1500;
-  private static final int NB_RETRIES = 15;
+  private static final long SLEEP_TIME = 2000;
+  private static final int NB_RETRIES = 20;
 
   private static final byte[] tableName = Bytes.toBytes("test");
   private static final byte[] famName = Bytes.toBytes("f");



Mime
View raw message