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/21 22:44:53 UTC

svn commit: r1448815 - /accumulo/branches/1.5/server/src/test/java/org/apache/accumulo/server/tabletserver/InMemoryMapTest.java

Author: ecn
Date: Thu Feb 21 21:44:53 2013
New Revision: 1448815

URL: http://svn.apache.org/r1448815
Log:
ACCUMULO-1082 loosen the timing requirements for testParallelWriteSpeed

Modified:
    accumulo/branches/1.5/server/src/test/java/org/apache/accumulo/server/tabletserver/InMemoryMapTest.java

Modified: accumulo/branches/1.5/server/src/test/java/org/apache/accumulo/server/tabletserver/InMemoryMapTest.java
URL: http://svn.apache.org/viewvc/accumulo/branches/1.5/server/src/test/java/org/apache/accumulo/server/tabletserver/InMemoryMapTest.java?rev=1448815&r1=1448814&r2=1448815&view=diff
==============================================================================
--- accumulo/branches/1.5/server/src/test/java/org/apache/accumulo/server/tabletserver/InMemoryMapTest.java (original)
+++ accumulo/branches/1.5/server/src/test/java/org/apache/accumulo/server/tabletserver/InMemoryMapTest.java Thu Feb 21 21:44:53 2013
@@ -341,8 +341,8 @@ public class InMemoryMapTest extends Tes
     // verify that more threads doesn't go a lot faster, or a lot slower than one thread
     for (int i = 0; i < timings.size(); i++) {
       double ratioFirst = timings.get(0) / timings.get(i); 
-      assertTrue(ratioFirst < 2);
-      assertTrue(ratioFirst > 0.5);
+      assertTrue(ratioFirst < 3);
+      assertTrue(ratioFirst > 0.3);
     }
   }