From da42413bbe116c5f4905e3c2ba0a6cf000669698 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/ex/lustre-release/+/51232 Tested-by: jenkins Tested-by: Andreas Dilger --- 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 9781a77..01b9d73 100755 --- a/lustre/tests/sanity-quota.sh +++ b/lustre/tests/sanity-quota.sh @@ -284,6 +284,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