Whamcloud - gitweb
LU-17476 tests: wait for sanity/350 to clean up
authorAndreas Dilger <adilger@whamcloud.com>
Mon, 5 Feb 2024 22:27:20 +0000 (15:27 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 8 Feb 2024 08:53:50 +0000 (08:53 +0000)
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 <adilger@whamcloud.com>
Change-Id: I9ff61013764f4e47916999eefab893e069bb217a
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/53928
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/tests/sanity.sh

index 1b2f971..c6a032f 100755 (executable)
@@ -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