about summary refs log tree commit homepage
path: root/test
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2013-11-01 00:05:14 +0000
committerEric Wong <normalperson@yhbt.net>2013-11-01 00:05:14 +0000
commitfebabe3dcfd1ee41cc253ca43fd667c9e2ec6444 (patch)
tree20c2e1eb7be0c81fdd86b38d8e18fb79aebf461a /test
parent7c32323bdd375b1167b42991c081e3b579ad8243 (diff)
downloadyahns-febabe3dcfd1ee41cc253ca43fd667c9e2ec6444.tar.gz
Some users may care to have sub-second or fractional timeouts for
various reasons.  Do not reject those values to be consistent with
Ruby sleep/select.
Diffstat (limited to 'test')
-rw-r--r--test/test_client_expire.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_client_expire.rb b/test/test_client_expire.rb
index bff00cb..6436c7c 100644
--- a/test/test_client_expire.rb
+++ b/test/test_client_expire.rb
@@ -87,7 +87,7 @@ class TestClientExpire < Testcase
         }
         app(:rack, ru) do
           listen "#{host}:#{port}", sndbuf: 2048, rcvbuf: 2048
-          client_timeout 1
+          client_timeout 1.0
           # FIXME: wbuf creation does not recover from EMFILE/ENFILE
           output_buffering false
           check_client_connection true