lint fix
This commit is contained in:
parent
620209aeb4
commit
1e3b2f5dd4
|
@ -451,7 +451,8 @@ class CephBasicDeployment(OpenStackAmuletDeployment):
|
|||
output, code = sentry_unit.run(cmd)
|
||||
u.log.debug(output)
|
||||
import re
|
||||
if re.search('flags ((noout,nodown)|(nodown,noout))', output) is None:
|
||||
if re.search('flags ((noout,nodown)|(nodown,noout))',
|
||||
output) is None:
|
||||
amulet.raise_status(amulet.FAIL, msg="Missing noout,nodown")
|
||||
|
||||
u.log.debug("Testing resume")
|
||||
|
@ -459,7 +460,7 @@ class CephBasicDeployment(OpenStackAmuletDeployment):
|
|||
assert u.wait_on_action(action_id), "Resume action failed."
|
||||
output, code = sentry_unit.run(cmd)
|
||||
if re.search('flags ((noout,nodown)|(nodown,noout))',
|
||||
output) is not None:
|
||||
output) is not None:
|
||||
amulet.raise_status(amulet.FAIL, msg="Still has noout,nodown")
|
||||
|
||||
def test_410_ceph_cinder_vol_create(self):
|
||||
|
|
Loading…
Reference in New Issue