Add default_timeout parameter to ubuntu stack

So far we used wait_for_members_to_be_reachable waiter method on Octavia
classes/modules without having a default waiting time parameter, which
may lead to a very big waiting times when errors occur.

This patch adds default_timeout_waiting_time parameter to the
UbuntuServerStackFixture class.

Change-Id: Ifecd0e47ea2f5b24461ea00308f247d6201d4d04
This commit is contained in:
Omer 2022-01-18 14:54:03 +01:00 committed by Federico Ressi
parent d864909ef6
commit 73d36f0997

View File

@ -173,7 +173,7 @@ class HttpRoundRobinAmphoraIpv4Listener(heat.HeatStackFixture):
timeout=timeout,
interval=interval,
default_interval=5.,
default_timeout=150.):
default_timeout=members[0].wait_timeout):
try:
for member in members[last_reached_id:]:
octavia.check_members_balanced(