]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/standalone/scrub: fix TEST_periodic_scrub_replicated 61118/head
authorRonen Friedman <rfriedma@redhat.com>
Tue, 17 Dec 2024 13:51:48 +0000 (15:51 +0200)
committerRonen Friedman <rfriedma@redhat.com>
Tue, 17 Dec 2024 16:59:09 +0000 (10:59 -0600)
A bogus change introduced as part of PR#54363 (commit
fbb7d73) changed multiple 'scrub' commands to 'scheduled-scrub'.
In this one instance - that was wrong.

Fixes: https://tracker.ceph.com/issues/69276
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
(cherry picked from commit ca189fb511f18fc82c62702bf904201b6347395b)

qa/standalone/scrub/osd-scrub-repair.sh

index b717026e1916d4986a32a74a1d248a242201e45d..f5a32197465fbb3c9dc8c09ba936819ab986f93b 100755 (executable)
@@ -5831,7 +5831,7 @@ function TEST_periodic_scrub_replicated() {
 
     flush_pg_stats
     # Request a regular scrub and it will be done
-    pg_schedule_scrub $pg
+    pg_scrub $pg
     grep -q "Regular scrub request, deep-scrub details will be lost" $dir/osd.${primary}.log || return 1
 
     # deep-scrub error is no longer present