hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nspiegelb...@apache.org
Subject svn commit: r1227420 - /hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
Date Thu, 05 Jan 2012 01:26:32 GMT
Author: nspiegelberg
Date: Thu Jan  5 01:26:31 2012
New Revision: 1227420

URL: http://svn.apache.org/viewvc?rev=1227420&view=rev
Log:
[master] Increase the retry number for the nondeterministic
failure of TestZooKeeper

Modified:
    hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java

Modified: hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java?rev=1227420&r1=1227419&r2=1227420&view=diff
==============================================================================
--- hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
(original)
+++ hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
Thu Jan  5 01:26:31 2012
@@ -840,7 +840,7 @@ public class HBaseTestingUtility {
     byte[] password = nodeZK.getSessionPassword();
     long sessionID = nodeZK.getSessionID();
     final long sleep = sessionTimeout * 10L;
-    final int maxRetryNum = 10;
+    final int maxRetryNum = 50;
     int retryNum = maxRetryNum;
 
     ZooKeeper zk = new ZooKeeper(quorumServers,



Mime
View raw message