]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
qa: make all replayer threads busy and query 'syncing' status
authorJos Collin <jcollin@redhat.com>
Mon, 11 Mar 2024 10:41:54 +0000 (16:11 +0530)
committerJos Collin <jcollin@redhat.com>
Tue, 8 Oct 2024 03:30:23 +0000 (09:00 +0530)
commit378b15b83045204ad6af5b9da155debb6c477f1f
treeb47904012d0f6b3b8484fb76a6d8620ab4cfedff
parent229c16865ca9647a2099c617b5129798b685b0d5
qa: make all replayer threads busy and query 'syncing' status

* Make all replayer threads busy and then query for 'syncing' state
instead of just fetching the current status.

* Dropped 'current_syncing_snap' check, as it's not compulsory for
this test. The actual intension is to make threads in 'syncing' status
and 'current_syncing_snap' check is not necessary for that.

* Drop 'snaps_deleted' metrics check in test_cephfs_mirror_cancel_mirroring_and_readd.
test_cephfs_mirror_cancel_mirroring_and_readd primarily focusses
on the synchronization of the newly added directory paths post removal
of the previously added/syncing directory paths. So checking of 'snaps_deleted'
metrics is unnecessary here.

* Wait for more time to finish the new snapshot creations and the sync backoff.
We need to wait for more time in test_cephfs_mirror_cancel_mirroring_and_readd,
as the test makes all replayer threads busy.

Fixes: https://tracker.ceph.com/issues/64711
Signed-off-by: Jos Collin <jcollin@redhat.com>
(cherry picked from commit db9825d3142d2f886ef4719adfbac51209136300)
qa/tasks/cephfs/test_mirroring.py