diff options
author | Valerii Ponomarov <vponomar@redhat.com> | 2019-09-14 01:34:17 +0530 |
---|---|---|
committer | vponomar <vponomar@redhat.com> | 2019-09-16 14:58:47 +0000 |
commit | e641245cf14f6dc014229805aecb88434bba6a0e (patch) | |
tree | da6f1691c9e7432ac9a20e07328acbbe928db0ee /tests/functional/gluster_stability/test_gluster_block_stability.py | |
parent | 8dd2df0d75b6241da28ee24904ea00b718566360 (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 'tests/functional/gluster_stability/test_gluster_block_stability.py')
0 files changed, 0 insertions, 0 deletions