path: root/openshift-storage-libs/openshiftstoragelibs
diff options
authorSushil Gupta <>2020-08-26 12:07:18 +0530
committerSushil Gupta <>2020-09-10 04:24:38 +0530
commitb7bd21e4d0f24a0de267a2d569b216da87a9888a (patch)
treede0e9c12a05c14273b53be85ef9fb90deaec1480 /openshift-storage-libs/openshiftstoragelibs
parentc82a3789f70a1aa5caae7187072350a1c741e119 (diff)
[Test] Add TC to verify dev path on file & block pvc with vol reboot
Change-Id: Ie072f0365a3d4cf71142e07f6387c8653a616945 Signed-off-by: Sushil Gupta <>
Diffstat (limited to 'openshift-storage-libs/openshiftstoragelibs')
1 files changed, 3 insertions, 1 deletions
diff --git a/openshift-storage-libs/openshiftstoragelibs/ b/openshift-storage-libs/openshiftstoragelibs/
index 1204570..81327c1 100644
--- a/openshift-storage-libs/openshiftstoragelibs/
+++ b/openshift-storage-libs/openshiftstoragelibs/
@@ -433,7 +433,7 @@ class BaseClass(unittest.TestCase):
def create_dcs_with_pvc(
self, pvc_names, timeout=600, wait_step=5,
- dc_name_prefix='autotests-dc', label=None,
+ dc_name_prefix='autotests-dc', space_to_use=1048576, label=None,
skip_cleanup=False, is_busybox=False):
"""Create bunch of DCs with app PODs which use unique PVCs.
@@ -443,6 +443,7 @@ class BaseClass(unittest.TestCase):
timeout (int): timeout value, default value is 600 seconds.
wait_step( int): wait step, default value is 5 seconds.
dc_name_prefix(str): name prefix for deployement config.
+ space_to_use(int): space to use for io's in KB.
label (dict): keys and value for adding label into DC.
is_busybox (bool): True for busybox app pod else default is False
Returns: dictionary with following structure:
@@ -461,6 +462,7 @@ class BaseClass(unittest.TestCase):
for pvc_name in pvc_names:
dc_name = function(self.ocp_client[0], pvc_name,
+ space_to_use=space_to_use,
dc_name_prefix=dc_name_prefix, label=label)
dc_names[pvc_name] = dc_name
if not skip_cleanup: