From cea6eb756b34752a5b524f779986257445d2c7c1 Mon Sep 17 00:00:00 2001 From: Andreas Dilger Date: Mon, 5 Feb 2024 15:27:20 -0700 Subject: [PATCH] LU-17476 tests: wait for sanity/350 to clean up Wait until sanity test_350 has finished deleting its files before moving on to the next subtests, otherwise the background cleanup can cause later test failures (in particular test_413a). Test-Parameters: trivial testlist=sanity Test-Parameters: testlist=sanity Test-Parameters: testlist=sanity Test-Parameters: testlist=sanity Test-Parameters: testlist=sanity Fixes: d1509ff2ca ("LU-17476 lnet: prefer to use bits only to match ME") Signed-off-by: Andreas Dilger Change-Id: I9ff61013764f4e47916999eefab893e069bb217a Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/53928 Tested-by: jenkins Tested-by: Maloo --- lustre/tests/sanity.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 1b2f971..c6a032f 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -25346,6 +25346,7 @@ test_350() { local mdts=$(comma_list $(mdts_nodes)) mkdir $DIR/$tdir || error "mkdir $DIR/$tdir failed" + stack_trap "wait_delete_completed" stack_trap "rm -r $DIR/$tdir" #force 1/100 of replies to take "NID mismatch" codepath -- 1.8.3.1