diff options
author | Arun Kumar <arukumar@redhat.com> | 2019-04-09 12:38:57 +0530 |
---|---|---|
committer | vponomar <vponomar@redhat.com> | 2019-06-26 14:23:31 +0000 |
commit | ff5771132bb1159e2e1a21959e3a12ad8d6d0cc3 (patch) | |
tree | 1e7e831c34bf2f6f34639bd6b33b79dd74863b94 /tests/functional | |
parent | 5e3ad2be9b99b2b39e3c6c94b552a651f595e814 (diff) |
Add TC create SC with invalid clusterid for block and file volumes
Create storage class one for file and one for block volumes with invalid
clusterid. Create PVC from those SC's and it should not go in bound state
Change-Id: I73848a4e213cc34e374eddbe0eb27d3e35e27d71
Diffstat (limited to 'tests/functional')
-rw-r--r-- | tests/functional/provisioning/test_storage_class_cases.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/functional/provisioning/test_storage_class_cases.py b/tests/functional/provisioning/test_storage_class_cases.py index f0c61182..ff78215d 100644 --- a/tests/functional/provisioning/test_storage_class_cases.py +++ b/tests/functional/provisioning/test_storage_class_cases.py @@ -181,6 +181,7 @@ class TestStorageClassCases(BaseClass): {"secretnamespace": "fakenamespace"}, {"restuser": "fakeuser"}, {"volumenameprefix": "dept_qe"}, + {"clusterids": "123456789abcdefg"}, ) def test_sc_glusterfile_incorrect_parameter(self, parameter={}): """Validate glusterfile storage with different incorrect parameters""" @@ -191,6 +192,7 @@ class TestStorageClassCases(BaseClass): {"restsecretname": "fakerestsecretname", "restsecretnamespace": "fakerestnamespace"}, {"restuser": "fakeuser"}, + {"clusterids": "123456789abcdefg"}, ) def test_sc_glusterblock_incorrect_parameter(self, parameter={}): """Validate glusterblock storage with different incorrect parameters""" |