path: root/openshift-storage-libs/openshiftstoragelibs/
diff options
authorValerii Ponomarov <>2019-09-14 01:34:17 +0530
committervponomar <>2019-09-16 14:58:47 +0000
commite641245cf14f6dc014229805aecb88434bba6a0e (patch)
treeda6f1691c9e7432ac9a20e07328acbbe928db0ee /openshift-storage-libs/openshiftstoragelibs/
parent8dd2df0d75b6241da28ee24904ea00b718566360 (diff)
Fix multiple usages of waiters
Fix consists of 2 parts: - Calculate correctly left time for waiting in 'scale_dcs_pod_amount_and_wait' function. Before, it had bug, where we were waiting less time than requested. And it led to the unexpected timeout errors. Example: it could fail waiting only 180sec having 600sec as real timeout. - Reset 'attempts' on the instantiated 'waiter's to avoid redundant waiting reusing the single waiter instance. Example. On deletion of 20 PVCs we save about 1,5 minutes. In whole test suite we create much more PVCs than 20. Change-Id: I5d06a63dd0c2c5bd67fdb09fef87948d65e6bf22
Diffstat (limited to 'openshift-storage-libs/openshiftstoragelibs/')
0 files changed, 0 insertions, 0 deletions