summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/functional/heketi/test_heketi_create_volume.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/functional/heketi/test_heketi_create_volume.py b/tests/functional/heketi/test_heketi_create_volume.py
index 56e72db5..6e25895e 100644
--- a/tests/functional/heketi/test_heketi_create_volume.py
+++ b/tests/functional/heketi/test_heketi_create_volume.py
@@ -353,6 +353,8 @@ class TestHeketiVolume(BaseClass):
# Verify volume creation at the gluster side
g_vol_list = get_volume_list('auto_get_gluster_endpoint')
+ self.assertTrue(g_vol_list, "Failed to get gluster volume list")
+
msg = "volume: %s not found in the volume list: %s" % (
volume_name, g_vol_list)
self.assertIn(volume_name, g_vol_list, msg)