You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ec...@apache.org on 2013/02/13 19:33:06 UTC

svn commit: r1445810 - in /accumulo/trunk: proxy/src/test/java/org/apache/accumulo/proxy/SimpleTest.java test/src/main/java/org/apache/accumulo/test/MiniAccumuloCluster.java

Author: ecn
Date: Wed Feb 13 18:33:05 2013
New Revision: 1445810

URL: http://svn.apache.org/r1445810
Log:
ACCUMULO-1036 try harder to stabilize the proxy test

Modified:
    accumulo/trunk/proxy/src/test/java/org/apache/accumulo/proxy/SimpleTest.java
    accumulo/trunk/test/src/main/java/org/apache/accumulo/test/MiniAccumuloCluster.java

Modified: accumulo/trunk/proxy/src/test/java/org/apache/accumulo/proxy/SimpleTest.java
URL: http://svn.apache.org/viewvc/accumulo/trunk/proxy/src/test/java/org/apache/accumulo/proxy/SimpleTest.java?rev=1445810&r1=1445809&r2=1445810&view=diff
==============================================================================
--- accumulo/trunk/proxy/src/test/java/org/apache/accumulo/proxy/SimpleTest.java (original)
+++ accumulo/trunk/proxy/src/test/java/org/apache/accumulo/proxy/SimpleTest.java Wed Feb 13 18:33:05 2013
@@ -174,7 +174,7 @@ public class SimpleTest {
 
     // create a table that's very slow, so we can look for scans/compactions
     client.createTable(creds, "slow", true, TimeType.MILLIS);
-    IteratorSetting setting = new IteratorSetting(100, "slow", SlowIterator.class.getName(), Collections.singletonMap("sleepTime", "100"));
+    IteratorSetting setting = new IteratorSetting(100, "slow", SlowIterator.class.getName(), Collections.singletonMap("sleepTime", "200"));
     client.attachIterator(creds, "slow", setting, EnumSet.allOf(IteratorScope.class));
     client.updateAndFlush(creds, "slow", mutation("row", "cf", "cq", "value"));
     client.updateAndFlush(creds, "slow", mutation("row2", "cf", "cq", "value"));

Modified: accumulo/trunk/test/src/main/java/org/apache/accumulo/test/MiniAccumuloCluster.java
URL: http://svn.apache.org/viewvc/accumulo/trunk/test/src/main/java/org/apache/accumulo/test/MiniAccumuloCluster.java?rev=1445810&r1=1445809&r2=1445810&view=diff
==============================================================================
--- accumulo/trunk/test/src/main/java/org/apache/accumulo/test/MiniAccumuloCluster.java (original)
+++ accumulo/trunk/test/src/main/java/org/apache/accumulo/test/MiniAccumuloCluster.java Wed Feb 13 18:33:05 2013
@@ -332,8 +332,6 @@ public class MiniAccumuloCluster {
     }
     
     masterProcess = exec(Master.class);
-    // give the processes a little time to get sockets and start listening
-    UtilWaitThread.sleep(100);
   }
   
   /**