diff options
author | zedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9> | 2006-06-05 09:30:36 +0000 |
---|---|---|
committer | zedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9> | 2006-06-05 09:30:36 +0000 |
commit | 7880ca664e94df3c30f979e078458b9e56e178c5 (patch) | |
tree | e6a7803db79ab458ca8c269ea76567bd6b31de41 /test | |
parent | fbf042877dd1690b0202d38cba29c6e7f9f0a0d6 (diff) | |
download | unicorn-7880ca664e94df3c30f979e078458b9e56e178c5.tar.gz |
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@226 19e92222-5c0b-0410-8929-a290d50e31e9
Diffstat (limited to 'test')
-rw-r--r-- | test/test_stats.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_stats.rb b/test/test_stats.rb index d1c5c2f..9a6c8f1 100644 --- a/test/test_stats.rb +++ b/test/test_stats.rb @@ -28,7 +28,7 @@ class StatsTest < Test::Unit::TestCase s = Stats.new("test") t = Stats.new("time") - 10000.times { s.sample(rand(20)); t.tick } + 100.times { s.sample(rand(20)); t.tick } s.dump("FIRST", out) t.dump("FIRST", out) @@ -38,7 +38,7 @@ class StatsTest < Test::Unit::TestCase s.reset t.reset - 10000.times { s.sample(rand(20)); t.tick } + 100.times { s.sample(rand(30)); t.tick } s.dump("SECOND", out) t.dump("SECOND", out) |