From eb5a5e990adda4eedbd5ab859b3860340a58cce8 Mon Sep 17 00:00:00 2001 From: Ronen Friedman Date: Mon, 11 Dec 2023 01:30:06 -0600 Subject: [PATCH] test/scrub: fix osd-recovery-scrub.sh to look for correct log message ... matching the code changes in the previous commit. Signed-off-by: Ronen Friedman --- qa/standalone/scrub/osd-recovery-scrub.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qa/standalone/scrub/osd-recovery-scrub.sh b/qa/standalone/scrub/osd-recovery-scrub.sh index 14c98c5e8f62b..3d3121fe8d80c 100755 --- a/qa/standalone/scrub/osd-recovery-scrub.sh +++ b/qa/standalone/scrub/osd-recovery-scrub.sh @@ -33,7 +33,7 @@ function run() { done } -# Simple test for "not scheduling scrubs due to active recovery" +# Simple test for "recovery in progress. Only high priority scrubs allowed." # OSD::sched_scrub() called on all OSDs during ticks function TEST_recovery_scrub_1() { local dir=$1 @@ -99,11 +99,11 @@ function TEST_recovery_scrub_1() { kill_daemons $dir #|| return 1 declare -a err_strings - err_strings[0]="not scheduling scrubs due to active recovery" + err_strings[0]="recovery in progress. Only high priority scrubs allowed." for osd in $(seq 0 $(expr $OSDS - 1)) do - grep "not scheduling scrubs" $dir/osd.${osd}.log + grep "recovery in progress. Only high priority scrubs allowed." $dir/osd.${osd}.log done for err_string in "${err_strings[@]}" do -- 2.39.5