Fix positional timeout arg

The timeout argument was being incorrectly set
to the verbosity value due to positional function
argument instead of keywork args. This change is
adding timeout to TripleoProvide and fixing the
super()__init__ call to use keyword instead of
positional args.

Change-Id: Ie2f48a5fd8c5429ce5fb1ef04a56f53c9818e149
This commit is contained in:
Brendan Shephard 2022-02-24 23:23:51 +10:00 committed by Cedric Jeanneret
parent ec411b9329
commit 66718d3abc
1 changed files with 2 additions and 2 deletions

View File

@ -88,9 +88,9 @@ class TripleoProvide(TripleoBaremetal):
"""
def __init__(self, wait_for_bridge_mappings: bool = False,
verbosity: int = 1):
timeout: int = 60, verbosity: int = 1):
super().__init__(verbosity)
super().__init__(timeout=timeout, verbosity=verbosity)
self.wait_for_bridge_mappings = wait_for_bridge_mappings
def _wait_for_unlocked(self, node: str, timeout: int):