]> 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, 10 Dec 2024 11:37:27 +0000 (17:07 +0530)
commit0439736da824b426f35dc886350619eac371b6b0
tree93e745c5e5ff842d990007fb5de39351341968d3
parent4f59844ff6495b3c1b93ff758344bc9a097e6d42
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