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']]
|
||||
if network else [])
|
||||
for address in addresses:
|
||||
if (address['version'] == CONF.validation.ip_version_for_ssh
|
||||
and address['OS-EXT-IPS:type'] == 'fixed'):
|
||||
if ((address['version'] ==
|
||||
CONF.validation.ip_version_for_ssh) and
|
||||
address['OS-EXT-IPS:type'] == 'fixed'):
|
||||
return address['addr']
|
||||
raise exceptions.ServerUnreachable(server_id=server['id'])
|
||||
else:
|
||||
|
@ -78,8 +78,8 @@ class ResourceReservationScenarioTest(manager.ScenarioTest):
|
||||
if lease:
|
||||
events = lease['events']
|
||||
return len([evt for evt in events
|
||||
if evt['event_type'] == 'end_lease'
|
||||
and evt['status'] == 'DONE']) > 0
|
||||
if evt['event_type'] == 'end_lease' and
|
||||
evt['status'] == 'DONE']) > 0
|
||||
else:
|
||||
LOG.info("Lease with id %s is empty", lease_id)
|
||||
except Exception as e:
|
||||
|
@ -2,7 +2,7 @@
|
||||
# of appearance. Changing the order has an impact on the overall integration
|
||||
# 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
|
||||
sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
|
||||
|
Loading…
x
Reference in New Issue
Block a user