Merge "Added a debug message to help fix a tempest failure"

This commit is contained in:
Zuul 2018-06-26 09:52:46 +00:00 committed by Gerrit Code Review
commit 5646004687

View File

@ -144,8 +144,10 @@ class BaseVitrageTempest(base.BaseTestCase):
@classmethod
def _get_num_default_ports(cls):
ports = TempestClients.neutron().list_ports()['ports']
return len(general_utils.all_matches(
ports, device_owner='compute:nova'))
nova_ports = general_utils.all_matches(ports,
device_owner='compute:nova')
LOG.debug('ports: %s, nova_ports: %s', ports, nova_ports)
return len(nova_ports)
def _create_graph_from_graph_dictionary(self, api_graph):
self.assertIsNotNone(api_graph)