summaryrefslogtreecommitdiffstats
path: root/tests/functional/common
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/common')
-rw-r--r--tests/functional/common/gluster_stability/test_gluster_services_restart.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/functional/common/gluster_stability/test_gluster_services_restart.py b/tests/functional/common/gluster_stability/test_gluster_services_restart.py
index 2170815e..bbde551f 100644
--- a/tests/functional/common/gluster_stability/test_gluster_services_restart.py
+++ b/tests/functional/common/gluster_stability/test_gluster_services_restart.py
@@ -35,6 +35,7 @@ from cnslibs.common.gluster_ops import (
restart_gluster_vol_brick_processes,
wait_to_heal_complete,
)
+from cnslibs.common import utils
HEKETI_BLOCK_VOLUME_REGEX = "^Id:(.*).Cluster:(.*).Name:%s_(.*)$"
@@ -53,11 +54,7 @@ class GlusterStabilityTestSetup(BaseClass):
in cleanup method
"""
self.oc_node = self.ocp_master_node[0]
-
- # prefix used to create resources, generating using glusto_test_id
- # which uses time and date of test case
- self.prefix = "autotest-%s" % (self.glustotest_run_id.replace("_", ""))
-
+ self.prefix = "autotest-%s" % utils.get_random_str()
_storage_class = self.storage_classes.get(
'storage_class2',
self.storage_classes.get('block_storage_class'))