Merge pull request #185 from 1a23456789/master

Fix test_request_timeout.py
This commit is contained in:
Eli Uriegas 2016-12-06 16:04:15 -06:00 committed by GitHub
commit 3ea1a80496

View File

@ -12,7 +12,7 @@ request_timeout_default_app = Sanic('test_request_timeout_default')
@request_timeout_app.route('/1')
async def handler_1(request):
await asyncio.sleep(1)
await asyncio.sleep(2)
return text('OK')
@ -29,7 +29,7 @@ def test_server_error_request_timeout():
@request_timeout_default_app.route('/1')
async def handler_2(request):
await asyncio.sleep(1)
await asyncio.sleep(2)
return text('OK')