3a70112d03
Currently the timeout for a wsgi server successfully binding to a port and for a probetest background service to finish starting are hard coded to 30 seconds. While a reasonable default for most configurations, a small virtualized environment may need a little more time in order for probe tests to complete successfully. This patch adds a 'bind_timeout' option to the DEFAULT section of the main wsgi servers' config. Also a new [probe_test] section and 'check_server_timeout' option to test.conf DocImpact Change-Id: Ibcaff153c7633bbf32e460fd9dbf04932eddb56f
4 lines
129 B
Python
4 lines
129 B
Python
from test import get_config
|
|
config = get_config('probe_test')
|
|
CHECK_SERVER_TIMEOUT = int(config.get('check_server_timeout', 30))
|