couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject svn commit: r819977 - /couchdb/trunk/test/etap/040-util.t
Date Tue, 29 Sep 2009 14:57:27 GMT
Author: davisp
Date: Tue Sep 29 14:57:27 2009
New Revision: 819977

URL: http://svn.apache.org/viewvc?rev=819977&view=rev
Log:
Fixed a memory usage test.

Noah reported that forcing garbage collection only worked when allocating more
terms. This ups the test number to what worked for him.


Modified:
    couchdb/trunk/test/etap/040-util.t

Modified: couchdb/trunk/test/etap/040-util.t
URL: http://svn.apache.org/viewvc/couchdb/trunk/test/etap/040-util.t?rev=819977&r1=819976&r2=819977&view=diff
==============================================================================
--- couchdb/trunk/test/etap/040-util.t (original)
+++ couchdb/trunk/test/etap/040-util.t Tue Sep 29 14:57:27 2009
@@ -80,7 +80,7 @@
         IntsToAGazillion = lists:seq(1, 200000),
         LotsOfData = lists:map(
             fun(Int) -> {Int, <<"foobar">>} end,
-        lists:seq(1, 200000)),
+        lists:seq(1, 500000)),
         etap:ok(couch_util:should_flush(),
             "Allocation 200K tuples puts us above the memory threshold.")
     end,



Mime
View raw message