summaryrefslogtreecommitdiffhomepage
path: root/test/test_ruby_application.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_ruby_application.py')
-rw-r--r--test/test_ruby_application.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test_ruby_application.py b/test/test_ruby_application.py
index 924fe1ee..f5e24e2e 100644
--- a/test/test_ruby_application.py
+++ b/test/test_ruby_application.py
@@ -321,6 +321,8 @@ class TestRubyApplication(TestApplicationRuby):
def test_ruby_keepalive_body(self):
self.load('mirror')
+ self.assertEqual(self.get()['status'], 200, 'init')
+
(resp, sock) = self.post(
headers={
'Host': 'localhost',
@@ -329,6 +331,7 @@ class TestRubyApplication(TestApplicationRuby):
},
start=True,
body='0123456789' * 500,
+ read_timeout=1,
)
self.assertEqual(resp['body'], '0123456789' * 500, 'keep-alive 1')