diff options
author | Eric Wong <normalperson@yhbt.net> | 2012-06-18 13:18:28 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2012-06-18 13:24:30 -0700 |
commit | e893686157a1abb9c6943d1c42c9cbdae1b76cd4 (patch) | |
tree | 3312144663d95a1fea782780fbb0da03c95c8184 /test/test_watcher.rb | |
parent | 5c62376bc9a1b0d7c8e664784a1fb97747a7c392 (diff) | |
download | raindrops-e893686157a1abb9c6943d1c42c9cbdae1b76cd4.tar.gz |
It makes no sense to compare peak times of different queues (active vs queued) against each other.
Diffstat (limited to 'test/test_watcher.rb')
-rw-r--r-- | test/test_watcher.rb | 1 |
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"]) } |