From 13805e3a2d4f520e297bc408d94b9971a6094f9a Mon Sep 17 00:00:00 2001 From: Alex Zhuravlev Date: Wed, 19 Apr 2023 10:20:33 +0300 Subject: [PATCH] LU-15123 tests: check quota reintegration after recovery 4th step of quota reintegration (reconciliation) waits for recovery completion. So the tests (like sanity-quota/7a) should wait for recovery completion before checking reintegration results. Lustre-change: https://review.whamcloud.com/50688 Lustre-commit: 4432b6e2824775e292f96e202d6fc0db231bc749 Signed-off-by: Alex Zhuravlev Change-Id: Id0aa5db01658621103d94ad6dafe91b2960b3a33 Reviewed-by: Andreas Dilger Reviewed-by: Sergey Cheremencev Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51233 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Oleg Drokin --- lustre/tests/sanity-quota.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lustre/tests/sanity-quota.sh b/lustre/tests/sanity-quota.sh index f552d84..047b1a9 100755 --- a/lustre/tests/sanity-quota.sh +++ b/lustre/tests/sanity-quota.sh @@ -285,6 +285,8 @@ wait_reintegration() { cmd=${cmd}.quota_slave.info if $(facet_up $tgt); then + # reintegration starts after recovery completion + wait_recovery_complete $tgt wait_update_facet $tgt "$cmd | grep "$qtype" | awk '{ print \\\$3 }'" \ "$result" $max || return 1 -- 1.8.3.1