cinder_endpoint and ceph_check in EDGE PODs resulting errors
Change-Id: I307d641a1a266a5b134030c3cb0dbcfd553b35ea
This commit is contained in:
parent
3758231fcb
commit
45f35668c2
|
@ -120,7 +120,9 @@ class endpoint_scenario(base.Scenario):
|
|||
funres = funccall()
|
||||
except Exception as e:
|
||||
funres = [404, str(e)]
|
||||
if funres[0] != 200:
|
||||
|
||||
# Catch all status other than success and skipped
|
||||
if funres[0] not in [200, 300]:
|
||||
resultmsg += ("%s failed: %s\n\n" % (func, funres[1]))
|
||||
result = 404
|
||||
if not resultmsg:
|
||||
|
|
|
@ -399,7 +399,9 @@ class operator_scenario(base.Scenario):
|
|||
funres = funccall()
|
||||
except Exception as e:
|
||||
funres = [404, str(e)]
|
||||
if funres[0] != 200:
|
||||
|
||||
# Catch all status other than success and skipped
|
||||
if funres[0] not in [200, 300]:
|
||||
resultmsg += ("%s failed: %s\n" % (func, funres[1]))
|
||||
result = 404
|
||||
if not resultmsg:
|
||||
|
|
Loading…
Reference in New Issue