about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2012-06-18 13:18:28 -0700
committerEric Wong <normalperson@yhbt.net>2012-06-18 13:24:30 -0700
commite893686157a1abb9c6943d1c42c9cbdae1b76cd4 (patch)
tree3312144663d95a1fea782780fbb0da03c95c8184
parent5c62376bc9a1b0d7c8e664784a1fb97747a7c392 (diff)
downloadraindrops-e893686157a1abb9c6943d1c42c9cbdae1b76cd4.tar.gz
It makes no sense to compare peak times of different queues
(active vs queued) against each other.
-rw-r--r--test/test_watcher.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_watcher.rb b/test/test_watcher.rb
index 056a3bf..5e45dcd 100644
--- a/test/test_watcher.rb
+++ b/test/test_watcher.rb
@@ -156,6 +156,7 @@ class TestWatcher < Test::Unit::TestCase
     @ios << @srv.accept
     assert_raises(Errno::EAGAIN) { @srv.accept_nonblock }
     sleep 0.1
+    env = @req.class.env_for "/queued/#@addr.txt"
     status, headers, body = @app.call(env.dup)
     assert headers["X-Last-Peak-At"], headers.inspect
     assert_nothing_raised { Time.parse(headers["X-Last-Peak-At"]) }