os-win/os_win/tests
Lucian Petrut 11e28563d4 Add wmi job terminate timeout cfg opt
We're using a hardcoded 15 seconds timeout when canceling WMI jobs.

Some jobs may not be cancelable, some may take longer to stop. For
example, Nova instances may end up in error state after attempting
to delete them as this hardcoded timeout gets exceeded.

That being considered, we're now adding a config option for this,
also increasing the default timeout to 2 minutes.

Ideally, Nova should pass a timeout here. Still, by adding a config
option at the os-win level, it's easier to backport this to older
releases, also providing a default for any kind of WMI job.

Change-Id: I797366c40a3a4bb74fe925bd10697f227e22915c
Closes-Bug: #1790890
2018-09-06 09:56:14 +03:00
..
functional Add methods for handling file ACLs 2016-10-14 17:17:15 +03:00
unit Add wmi job terminate timeout cfg opt 2018-09-06 09:56:14 +03:00
__init__.py Rename project to os-win 2015-09-17 05:21:49 -07:00