From 4969259babf237bd361106019fab0ba0e28ee82d Mon Sep 17 00:00:00 2001 From: Andreas Dilger Date: Tue, 1 Oct 2024 15:06:06 -0600 Subject: [PATCH] LU-14330 tests: wait for orphan thread to exit It may take a few seconds for the orphan cleanup thread to finish. Wait for the thread to exit rather than failing the test. Test-Parameters: trivial Fixes: a1e6e75a82 ("LU-12846 tests: verify orphan upgrade compatibilty") Signed-off-by: Andreas Dilger Change-Id: I604be1b9f8f460d9183ba1aaddd3b77e153ebbe5 Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/56559 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Artem Blagodarenko Reviewed-by: Alex Deiter Reviewed-by: Oleg Drokin --- lustre/tests/conf-sanity.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/tests/conf-sanity.sh b/lustre/tests/conf-sanity.sh index ec2abe75..3b7dc9b 100755 --- a/lustre/tests/conf-sanity.sh +++ b/lustre/tests/conf-sanity.sh @@ -3201,7 +3201,7 @@ t32_test() { return 1 fi - [[ $(do_facet mds1 pgrep orph_.*-MDD | wc -l) == 0 ]] || + wait_update_facet mds1 "pgrep orph_.*-MDD | wc -l" "0" || error "MDD orphan cleanup thread not quit" umount $tmp/mnt/lustre || { -- 1.8.3.1