about summary refs log tree commit homepage
path: root/test
diff options
context:
space:
mode:
authorzedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9>2006-11-17 22:55:40 +0000
committerzedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9>2006-11-17 22:55:40 +0000
commit6186ea676546eb2a26910a9298e17a8db918bb59 (patch)
tree4b105d66507c32cf1b57f532251e9a7f295b674a /test
parent326a43700f255a58c5e41e31f0a3ea57d2e18769 (diff)
downloadunicorn-6186ea676546eb2a26910a9298e17a8db918bb59.tar.gz
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@389 19e92222-5c0b-0410-8929-a290d50e31e9
Diffstat (limited to 'test')
-rw-r--r--test/test_bmhsearch.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_bmhsearch.rb b/test/test_bmhsearch.rb
index 4fd7ee8..af4587d 100644
--- a/test/test_bmhsearch.rb
+++ b/test/test_bmhsearch.rb
@@ -96,11 +96,11 @@ class BMHSearchTest < Test::Unit::TestCase
 
     if has_rfuzz
       r = RFuzz::RandomGenerator.new
-      needles = r.base64(2000, 100).collect {|n| "\r\n" + n.strip }
+      needles = r.base64(20, 64).collect {|n| "\r\n" + n.strip }
       needles.each do |needle|
         next if needle.length == 0
 
-        nchunks = r.num(1000) + 10
+        nchunks = r.num(10) + 10
         bmh = BMHSearch.new(needle, nchunks+1)
         total = ""  # used to collect the full string for compare