Merge "Add ConsistencyGroup Exceptions in tempest"

This commit is contained in:
Zuul 2020-01-28 17:43:41 +00:00 committed by Gerrit Code Review
commit 3b9b8ece39
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,6 @@
---
fixes:
- |
Fixed bug #1858417. Adding consistency group exceptions
``ConsistencyGroupException`` and ``ConsistencyGroupSnapshotException``
that didn't exist before and caused failure in cinder-tempest-plugin.

View File

@ -280,3 +280,12 @@ class InvalidTestResource(TempestException):
class InvalidParam(TempestException):
message = ("Invalid Parameter passed: %(invalid_param)s")
class ConsistencyGroupException(TempestException):
message = "Consistency group %(cg_id)s failed and is in ERROR status"
class ConsistencyGroupSnapshotException(TempestException):
message = ("Consistency group snapshot %(cgsnapshot_id)s failed and is "
"in ERROR status")