forked from pool/python-pycurl
- fix build with libcurl >= 8.17.0 boo#1253116
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=118
This commit is contained in:
19
increase_test_timeout.diff
Normal file
19
increase_test_timeout.diff
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
tests/runwsgi.py | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
--- a/tests/runwsgi.py
|
||||
+++ b/tests/runwsgi.py
|
||||
@@ -56,10 +56,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
|
||||
|
||||
Reference in New Issue
Block a user