summaryrefslogtreecommitdiffstats
path: root/tests/functional/provisioning/test_storage_class_cases.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/provisioning/test_storage_class_cases.py')
-rw-r--r--tests/functional/provisioning/test_storage_class_cases.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/functional/provisioning/test_storage_class_cases.py b/tests/functional/provisioning/test_storage_class_cases.py
index ff78215d..52b9d82a 100644
--- a/tests/functional/provisioning/test_storage_class_cases.py
+++ b/tests/functional/provisioning/test_storage_class_cases.py
@@ -295,3 +295,11 @@ class TestStorageClassCases(BaseClass):
self.sc.get("volumenameprefix", "autotest"),
namespace, pvc_name, self.heketi_server_url)
self.create_dc_with_pvc(pvc_name)
+ pv_name = get_pv_name_from_pvc(self.ocp_master_node[0], pvc_name)
+ endpoint = oc_get_custom_resource(
+ self.ocp_master_node[0], "pv", ":spec.glusterfs.endpoints",
+ name=pv_name)
+ self.assertTrue(
+ endpoint,
+ "Failed to read Endpoints of %s on %s " % (
+ pv_name, self.ocp_master_node[0]))