Do not retry to create a stack forever
Change-Id: I01e5726d106fe96a5c3b3e93f1f91347e3152fe1
This commit is contained in:
parent
385962042d
commit
e71d60c4ab
@ -159,7 +159,8 @@ class HeatStackFixture(tobiko.SharedFixture):
|
|||||||
|
|
||||||
def create_stack(self, retry=None) -> stacks.Stack:
|
def create_stack(self, retry=None) -> stacks.Stack:
|
||||||
for attempt in tobiko.retry(count=self._get_retry_value(retry),
|
for attempt in tobiko.retry(count=self._get_retry_value(retry),
|
||||||
interval=0.):
|
interval=0.,
|
||||||
|
timeout=self.wait_timeout):
|
||||||
try:
|
try:
|
||||||
return self.try_create_stack()
|
return self.try_create_stack()
|
||||||
except tobiko.TobikoException:
|
except tobiko.TobikoException:
|
||||||
|
Loading…
Reference in New Issue
Block a user