Merge "Fix trunk transition waiting message"
This commit is contained in:
commit
505a798127
@ -164,14 +164,14 @@ class TrunkTest(base.BaseTempestTestCase):
|
|||||||
utils.wait_until_true(
|
utils.wait_until_true(
|
||||||
lambda: self._is_port_status(port, status),
|
lambda: self._is_port_status(port, status),
|
||||||
exception=RuntimeError(
|
exception=RuntimeError(
|
||||||
"Timed out waiting for port {!r} to transition to get "
|
"Timed out waiting for port {!r} to transition to "
|
||||||
"status {!r}.".format(port['id'], status)))
|
"status {!r}.".format(port['id'], status)))
|
||||||
|
|
||||||
def _wait_for_trunk(self, trunk, status=constants.ACTIVE):
|
def _wait_for_trunk(self, trunk, status=constants.ACTIVE):
|
||||||
utils.wait_until_true(
|
utils.wait_until_true(
|
||||||
lambda: self._is_trunk_status(trunk, status),
|
lambda: self._is_trunk_status(trunk, status),
|
||||||
exception=RuntimeError(
|
exception=RuntimeError(
|
||||||
"Timed out waiting for trunk {!r} to transition to get "
|
"Timed out waiting for trunk {!r} to transition to "
|
||||||
"status {!r}.".format(trunk['id'], status)))
|
"status {!r}.".format(trunk['id'], status)))
|
||||||
|
|
||||||
def _create_ssh_client(self, floating_ip, use_advanced_image=False):
|
def _create_ssh_client(self, floating_ip, use_advanced_image=False):
|
||||||
|
Loading…
Reference in New Issue
Block a user