Merge "Fix Octavia Active standby skipper"

This commit is contained in:
Zuul 2022-12-16 11:28:32 +00:00 committed by Gerrit Code Review
commit 3402df05fe

View File

@ -221,7 +221,7 @@ class OctaviaBasicFaultTest(testtools.TestCase):
"""Skip the test if Octavia doesn't use Active/standby topology """Skip the test if Octavia doesn't use Active/standby topology
""" """
if len(octavia.list_amphorae( if len(octavia.list_amphorae(
self.loadbalancer_stack.loadbalancer_id)) > 2: self.loadbalancer_stack.loadbalancer_id)) < 2:
skipping_stmt = 'Skipping the test as it requires ' \ skipping_stmt = 'Skipping the test as it requires ' \
'Active/standby topology.' 'Active/standby topology.'
LOG.info(skipping_stmt) LOG.info(skipping_stmt)