From ff5771132bb1159e2e1a21959e3a12ad8d6d0cc3 Mon Sep 17 00:00:00 2001 From: Arun Kumar Date: Tue, 9 Apr 2019 12:38:57 +0530 Subject: 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 --- tests/functional/provisioning/test_storage_class_cases.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/functional/provisioning/test_storage_class_cases.py') 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""" -- cgit