Update hacking version
Change-Id: I78d0722f3864c8225a64c4da2456ba2560af5081
This commit is contained in:
parent
d1d4a15d27
commit
1c305f595f
|
@ -676,8 +676,9 @@ class ScenarioTest(tempest.test.BaseTestCase):
|
||||||
addresses = (server['addresses'][network['name']]
|
addresses = (server['addresses'][network['name']]
|
||||||
if network else [])
|
if network else [])
|
||||||
for address in addresses:
|
for address in addresses:
|
||||||
if (address['version'] == CONF.validation.ip_version_for_ssh
|
if ((address['version'] ==
|
||||||
and address['OS-EXT-IPS:type'] == 'fixed'):
|
CONF.validation.ip_version_for_ssh) and
|
||||||
|
address['OS-EXT-IPS:type'] == 'fixed'):
|
||||||
return address['addr']
|
return address['addr']
|
||||||
raise exceptions.ServerUnreachable(server_id=server['id'])
|
raise exceptions.ServerUnreachable(server_id=server['id'])
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -78,8 +78,8 @@ class ResourceReservationScenarioTest(manager.ScenarioTest):
|
||||||
if lease:
|
if lease:
|
||||||
events = lease['events']
|
events = lease['events']
|
||||||
return len([evt for evt in events
|
return len([evt for evt in events
|
||||||
if evt['event_type'] == 'end_lease'
|
if evt['event_type'] == 'end_lease' and
|
||||||
and evt['status'] == 'DONE']) > 0
|
evt['status'] == 'DONE']) > 0
|
||||||
else:
|
else:
|
||||||
LOG.info("Lease with id %s is empty", lease_id)
|
LOG.info("Lease with id %s is empty", lease_id)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# of appearance. Changing the order has an impact on the overall integration
|
# of appearance. Changing the order has an impact on the overall integration
|
||||||
# process, which may cause wedges in the gate later.
|
# process, which may cause wedges in the gate later.
|
||||||
|
|
||||||
hacking<0.13,>=0.12.0 # Apache-2.0
|
hacking>=1.1.0,<1.2.0 # Apache-2.0
|
||||||
|
|
||||||
# docs
|
# docs
|
||||||
sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
|
sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
|
||||||
|
|
Loading…
Reference in New Issue