You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by la...@apache.org on 2014/04/18 20:48:12 UTC

svn commit: r1588541 - /hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftServerCmdLine.java

Author: larsh
Date: Fri Apr 18 18:48:12 2014
New Revision: 1588541

URL: http://svn.apache.org/r1588541
Log:
HBASE-10988; Addendum: increase wait to 20s.

Modified:
    hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftServerCmdLine.java

Modified: hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftServerCmdLine.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftServerCmdLine.java?rev=1588541&r1=1588540&r2=1588541&view=diff
==============================================================================
--- hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftServerCmdLine.java (original)
+++ hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftServerCmdLine.java Fri Apr 18 18:48:12 2014
@@ -164,8 +164,8 @@ public class TestThriftServerCmdLine {
 
     thriftServer = new ThriftServer(TEST_UTIL.getConfiguration());
     startCmdLineThread(args.toArray(new String[0]));
-    // wait up to 10s for the server to start
-    for (int i = 0; i < 100
+    // wait up to 20s for the server to start
+    for (int i = 0; i < 200
         && (thriftServer.serverRunner == null || thriftServer.serverRunner.tserver == null); i++) {
       Thread.sleep(100);
     }