accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1448815 - /accumulo/branches/1.5/server/src/test/java/org/apache/accumulo/server/tabletserver/InMemoryMapTest.java
Date Thu, 21 Feb 2013 21:44:53 GMT
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);
     }
   }
 



Mime
View raw message