nodepool/nodepool/tests/unit
David Shrewsbury 7225354ec0 Add a timeout for the image build
A builder thread can wedge if the build process wedges. Add a timeout
to the subprocess. Since it was the call to readline() that would block,
we change the process to have DIB write directly to the log. This allows
us to set a timeout in the Popen.wait() call. And we kill the dib
subprocess, as well.

The timeout value can be controlled in the diskimage configuration and
defaults to 8 hours.

Change-Id: I188e8a74dc39b55a4b50ade5c1a96832fea76a7d
2019-01-23 16:27:19 -05:00
..
__init__.py Add tox functional testing for drivers 2018-11-01 15:33:44 +01:00
test_builder.py Add a timeout for the image build 2019-01-23 16:27:19 -05:00
test_commands.py Add second level cache of nodes 2018-11-26 20:04:04 +01:00
test_config_comparisons.py Extract out common config parsing for ConfigPool 2019-01-03 11:05:26 -05:00
test_config_validator.py Add tox functional testing for drivers 2018-11-01 15:33:44 +01:00
test_driver_kubernetes.py Add tox functional testing for drivers 2018-11-01 15:33:44 +01:00
test_driver_static.py Default host_keys to empty list in static driver 2019-01-09 14:08:07 +01:00
test_drivers.py Add tox functional testing for drivers 2018-11-01 15:33:44 +01:00
test_launcher.py Merge "Fix race in test_handler_poll_session_expired" 2018-12-11 19:00:53 +00:00
test_sdk_integration.py Add tox functional testing for drivers 2018-11-01 15:33:44 +01:00
test_webapp.py Add tox functional testing for drivers 2018-11-01 15:33:44 +01:00
test_zk.py Include host_id for openstack provider 2018-12-06 18:49:48 -05:00