python-pycurl/increase_test_timeout.diff

18 lines
647 B
Diff
Raw Normal View History

Index: pycurl-7.43.0/tests/runwsgi.py
===================================================================
--- pycurl-7.43.0.orig/tests/runwsgi.py
+++ pycurl-7.43.0/tests/runwsgi.py
@@ -48,10 +48,10 @@ def start_bottle_server(app, port, serve
server_thread.daemon = True
server_thread.start()
- ok = util.wait_for_network_service(('127.0.0.1', port), 0.1, 10)
+ ok = util.wait_for_network_service(('127.0.0.1', port), 0.1, 30)
if not ok:
import warnings
- warnings.warn('Server did not start after 1 second')
+ warnings.warn('Server did not start after 3 seconds')
return server_thread.server