From da11c296b8655c4456e67c6ddefecc5e8db27c7f Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Thu, 21 Sep 2023 20:46:50 -0400 Subject: [PATCH] qa: narrow search to debug_asok To avoid matching debug_asok_assert_abort. Signed-off-by: Patrick Donnelly (cherry picked from commit b911cf42c058cde51ce5a57234845136e30743bd) --- qa/workunits/mon/config.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qa/workunits/mon/config.sh b/qa/workunits/mon/config.sh index 1b00201ae48..9a62081c668 100755 --- a/qa/workunits/mon/config.sh +++ b/qa/workunits/mon/config.sh @@ -98,11 +98,11 @@ ceph tell osd.0 config unset debug_asok ceph tell osd.0 config unset debug_asok ceph config rm osd.0 debug_asok -while ceph config show osd.0 | grep debug_asok | grep mon +while ceph config show osd.0 | grep '^debug_asok[:[space]:]' | grep mon do sleep 1 done -ceph config show osd.0 | grep -c debug_asok | grep 0 +ceph config show osd.0 | grep -c '^debug_asok[:[space]:]' | grep 0 ceph config set osd.0 osd_scrub_cost 123 while ! ceph config show osd.0 | grep osd_scrub_cost | grep mon -- 2.39.5