Added comment about test_min_size_duration
in qa/tasks/thrashosds.
But also use the variable in ceph_manager.py
Signed-off-by: Kamoltat <ksirivad@redhat.com>
(cherry picked from commit
9f19dffc93463513e03908f3506c62e65364c0cd)
self.ceph_manager.wait_for_clean(timeout=180)
assert self.ceph_manager.is_clean(), \
'not clean before minsize thrashing starts'
- while not self.stopping:
+ start = time.time()
+ while time.time() - start < self.config.get("test_min_size_duration", 1800):
# look up k and m from all the pools on each loop, in case it
# changes as the cluster runs
k = 0
- kills that osd
- revives all other osds
- verifies that the osds fully recover
+
+ test_min_size_duration: (1800) the number of seconds for
+ test_pool_min_size to last.
timeout: (360) the number of seconds to wait for the cluster
to become clean after each cluster change. If this doesn't