summaryrefslogtreecommitdiffstats
path: root/openshift-storage-libs/openshiftstoragelibs/openshift_ops.py
diff options
context:
space:
mode:
authorValerii Ponomarov <vponomar@redhat.com>2019-05-29 00:00:47 +0530
committerValerii Ponomarov <vponomar@redhat.com>2019-05-29 00:18:04 +0530
commit30c009cde35d8cb3b2e755cd9ea71e172c8a4290 (patch)
treefcd34489ecf807e38a7f00fbd43226a5a9ff2984 /openshift-storage-libs/openshiftstoragelibs/openshift_ops.py
parent0b5396082a89dc04fbd998e679ea709f8dc38b46 (diff)
Fix 'test_pv_resize_by_exact_free_space' tc
It was broken it 2 places: - It is first tc in the 'resize' test suite, which runs right after OCP API restart. And it happens to fail to talk to the OCP API. So, fix it by adding API service waiter in place where we restart it. - In this tc we delete huge volume which consumes almost whole disk space. And happens that this operation takes up to the 6 minutes. But we were waiting only for 5 minutes. So, just increase timeout. Change-Id: Ic6ada67b96ac8a37d13f57c0576e862226517b0d
Diffstat (limited to 'openshift-storage-libs/openshiftstoragelibs/openshift_ops.py')
-rw-r--r--openshift-storage-libs/openshiftstoragelibs/openshift_ops.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openshift-storage-libs/openshiftstoragelibs/openshift_ops.py b/openshift-storage-libs/openshiftstoragelibs/openshift_ops.py
index b6d086a6..44834dc4 100644
--- a/openshift-storage-libs/openshiftstoragelibs/openshift_ops.py
+++ b/openshift-storage-libs/openshiftstoragelibs/openshift_ops.py
@@ -631,7 +631,7 @@ def create_namespace(hostname, namespace):
def wait_for_resource_absence(ocp_node, rtype, name,
- interval=5, timeout=300):
+ interval=5, timeout=600):
_waiter = waiter.Waiter(timeout=timeout, interval=interval)
resource, pv_name = None, None
for w in _waiter: